starknet_pathfinder_crypto
Python wrapper of the Rust implementations of Pedersen and Poseidon hash functions from pathfinder.
Installation
pip install starknet_pathfinder_crypto
Usage
The functions implemented by this module are drop-in replacements for the pure-Python implementations
used in cairo-lang:
You can use them directly, or monkey-patch cairo-lang:
import starknet_pathfinder_crypto
import starkware.crypto.signature.fast_pedersen_hash
import starkware.cairo.common.poseidon_hash
starkware.crypto.signature.fast_pedersen_hash.pedersen_hash_func = (
starknet_pathfinder_crypto.pedersen_hash_func
)
starkware.crypto.signature.fast_pedersen_hash.pedersen_hash = (
starknet_pathfinder_crypto.pedersen_hash
)
starkware.cairo.common.poseidon_hash.poseidon_hash = starknet_pathfinder_crypto.poseidon_hash
starkware.cairo.common.poseidon_hash.poseidon_hash_func = (
starknet_pathfinder_crypto.poseidon_hash_func
)
starkware.cairo.common.poseidon_hash.poseidon_hash_many = (
starknet_pathfinder_crypto.poseidon_hash_many
)
starkware.cairo.common.poseidon_hash.poseidon_perm = starknet_pathfinder_crypto.poseidon_perm
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
Release files for starknet-pathfinder-crypto 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| starknet_pathfinder_crypto-0.1.0.tar.gz | 118.7 kB | Details |
Built distributions (wheels)
Total release size: 18.3 MB
Release files / starknet_pathfinder_crypto-0.1.0.tar.gz
| Download URL | starknet_pathfinder_crypto-0.1.0.tar.gz |
|---|---|
| Size | 118.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc2cc289ef45809afd2124fa7bfe5662d704453d84807a04b93a9720707c6b19
|
|
BLAKE2b-256 checksum How to use checksums |
5d12d2cf579b097592b898c5cf5bb2019fc006b19200b5de87adf81e506192be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
a65a955b27ed6d25283b4cccb0279cd8371042085690d685467b79e2e199c5d0
|
|
BLAKE2b-256 checksum How to use checksums |
fff1e7608d890e74f4da50d408cf5e14ace2c3151b67c54ae77873e99724c161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Linux glibc 2.17+ ARM64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
c1e0c2fc204aa57c0b7048c5d1008856331ad89b2a44b798898f09e21adafc3f
|
|
BLAKE2b-256 checksum How to use checksums |
fd7704f36610f9d599e58b45c750fcc0704ee103ff31a0646f043733feb219d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
62bf85ebd97de698367631735fc9240dd6b4ea5547a279058569386e193e1bbc
|
|
BLAKE2b-256 checksum How to use checksums |
8d9616b9207f8b07ade51b8a0122ecb137136bbf407e11b677ba73dac3487ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Linux glibc 2.17+ ARM64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
fecca23a6ae3578b167acbfefe1c83e11b767ae5aad35da9a06a44c7155c6561
|
|
BLAKE2b-256 checksum How to use checksums |
70f6d54c59a4112a7a3de64e9eff66b5cc368af8ec0fa82bb2728f4422c65d50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
508a8c9737fcfbe615f5dab8fc241923a90ed8755aa95565cbe00f2ff3e22737
|
|
BLAKE2b-256 checksum How to use checksums |
e89ad9dc8bc563d37a415c3a8159750b941dfa98732ed62ea21a788075c5e500
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp311-none-win_amd64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp311-none-win_amd64.whl |
|---|---|
| Size | 259.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bfc980e1e8745d3ce671801aa439dfa045d992791eb899103ffb3227760334ae
|
|
BLAKE2b-256 checksum How to use checksums |
a368a00e25745cd48a805f7cd39f18444c6b5f92dfa6c36eb8f6226b9d433bd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5419d2e3d9f0f4a662d0bbb55b930ae16735a09f5658f37426baff4c217159c8
|
|
BLAKE2b-256 checksum How to use checksums |
33b87b07945c2aababe0903e47c499ab026efd895e634ab0ca1ece080c398aec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
9e7595722357954e2e31fd7b30eb1168b814596f321338360f0573e390ac5b46
|
|
BLAKE2b-256 checksum How to use checksums |
ef808f408f1fd59979845ba3b5ade06c4f846f7d9e8637f5621625d8fff7d799
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 375.2 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
31c3afad328f470bb503ce3250f9e2fab88f213f95b0a2c8f8c847c593451eae
|
|
BLAKE2b-256 checksum How to use checksums |
e8edbe5da88628a3d3031588c03ea61b2467aef217a0ed756977c623879b9dce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl |
|---|---|
| Size | 386.4 kB |
| Tags | CPython 3.11 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f260386cbb31c663583db3ed25f32b7dd007f2378034a88b409110fbe11300c
|
|
BLAKE2b-256 checksum How to use checksums |
6d9389701ec4549fc9189a6a1860abba2a402cecce0169807cc3b32e948aebc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp310-none-win_amd64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp310-none-win_amd64.whl |
|---|---|
| Size | 259.7 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4ae5cbabc69399757a311d5bb8c22ab7ce99c1c4e8ee286d30ff3c3289f5262c
|
|
BLAKE2b-256 checksum How to use checksums |
15062f5e15d2b589fa07f9ff3d747bc64d462921681b6b32a50b7de9a7263b64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e403db9befac494f776c226b8356bb7547a3a0a1928c2a572dd5a0a55cf42b2e
|
|
BLAKE2b-256 checksum How to use checksums |
2b34104bf36c80a9c229ee0c44341fea6ce37a8ce57bfe9f742e1351b3a2f526
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
3594f01a718fd48ebbbc00c3deecdea3a411a20ee7e27455f011b1a49b498510
|
|
BLAKE2b-256 checksum How to use checksums |
5792f8782e3911e917a80d2d0430f86de5cc476924db4919a2be08b6ce6a6619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 375.2 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6adcaf3d0cba0b3ea3fc64cadabafeedd3297bef5c38bb6ea4c0ce5e178e3116
|
|
BLAKE2b-256 checksum How to use checksums |
31035d8b02452513417d2d975428861046739a7606c8aa24cbbc1b6a4cff9dea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl |
|---|---|
| Size | 386.4 kB |
| Tags | CPython 3.10 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
60383da6d04237202b84cdccbee5eb70d65910897284dc2afbda739530f1151c
|
|
BLAKE2b-256 checksum How to use checksums |
46fac41b8d859c2b4890302bf193443df9399901025374f7fd5b1fef6b236d95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp39-none-win_amd64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp39-none-win_amd64.whl |
|---|---|
| Size | 259.5 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6e758f22b78d16c6fb902361146db38a0697d46b6539d0cd1261d21ae1bf01d0
|
|
BLAKE2b-256 checksum How to use checksums |
3c67fc2f6f000d2d8e8d81f95f6a03470bd8ec3e287a4d9ac22fdb24d571bb06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b252f2140e199ed317793a0381cc0848a5b4960b8d7782b41fee6520f8d85663
|
|
BLAKE2b-256 checksum How to use checksums |
3ad9f89e695337d5ad34cc5f396c1790ff1a408b0cea97ff986f616522e68b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
b6d923009caeefff0029aa1d467f1c6fb8e9ae39e07276b667ff224b038edddc
|
|
BLAKE2b-256 checksum How to use checksums |
7886dcbca92aa707e9a17c75abc4e6a644f5c9296efbed12285c95dd9083f08d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp38-none-win_amd64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp38-none-win_amd64.whl |
|---|---|
| Size | 259.7 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
50c9ab656dd69f2a7bba59ccafc21491355705e8a2bb22e41765f3fdcaf39b7d
|
|
BLAKE2b-256 checksum How to use checksums |
7fb696838fdddcd52740ba2743dc26608fcbcc45229ff2a474d454bcf3cf3c44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b69dfa10b2f7d146a32b69000ca17a226cebd508db1dd0f182374066449798f6
|
|
BLAKE2b-256 checksum How to use checksums |
4977ba68bdab67a5a138f1bdaed3b746acf29c6b5ef321955a1dca2e47bcaa6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|
Release files / starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
cd2f7b4b3d3acd385a63dfe1a5d836b2e363bf5dc4d02b238aa034de15c9cf07
|
|
BLAKE2b-256 checksum How to use checksums |
72f34da91e984e3e1fbbf9973e35ddfb4cce7acc03a555814d2a0a1659b81e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.17
|