No project description provided
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file starknet_pathfinder_crypto-0.1.0.tar.gz.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0.tar.gz
- Upload date:
- Size: 118.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc2cc289ef45809afd2124fa7bfe5662d704453d84807a04b93a9720707c6b19
|
|
| MD5 |
1d30c33ade3e60de1f8b0b9f39a244ca
|
|
| BLAKE2b-256 |
5d12d2cf579b097592b898c5cf5bb2019fc006b19200b5de87adf81e506192be
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a65a955b27ed6d25283b4cccb0279cd8371042085690d685467b79e2e199c5d0
|
|
| MD5 |
a0ee26a34ad0365f11cad1dd6e8e7dc4
|
|
| BLAKE2b-256 |
fff1e7608d890e74f4da50d408cf5e14ace2c3151b67c54ae77873e99724c161
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1e0c2fc204aa57c0b7048c5d1008856331ad89b2a44b798898f09e21adafc3f
|
|
| MD5 |
d25f299aca2e2067ac26732ebff4eae7
|
|
| BLAKE2b-256 |
fd7704f36610f9d599e58b45c750fcc0704ee103ff31a0646f043733feb219d0
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62bf85ebd97de698367631735fc9240dd6b4ea5547a279058569386e193e1bbc
|
|
| MD5 |
24b55ad31903dfbe337c4e720704ec6b
|
|
| BLAKE2b-256 |
8d9616b9207f8b07ade51b8a0122ecb137136bbf407e11b677ba73dac3487ddd
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: PyPy, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fecca23a6ae3578b167acbfefe1c83e11b767ae5aad35da9a06a44c7155c6561
|
|
| MD5 |
a69fc17d7ee072f79660a49742f15455
|
|
| BLAKE2b-256 |
70f6d54c59a4112a7a3de64e9eff66b5cc368af8ec0fa82bb2728f4422c65d50
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
508a8c9737fcfbe615f5dab8fc241923a90ed8755aa95565cbe00f2ff3e22737
|
|
| MD5 |
93c1f788fb66c342e5ecb0ba47d75698
|
|
| BLAKE2b-256 |
e89ad9dc8bc563d37a415c3a8159750b941dfa98732ed62ea21a788075c5e500
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp311-none-win_amd64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp311-none-win_amd64.whl
- Upload date:
- Size: 259.7 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfc980e1e8745d3ce671801aa439dfa045d992791eb899103ffb3227760334ae
|
|
| MD5 |
e02fe09f2bed86f91b9e969f7ea626ed
|
|
| BLAKE2b-256 |
a368a00e25745cd48a805f7cd39f18444c6b5f92dfa6c36eb8f6226b9d433bd7
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5419d2e3d9f0f4a662d0bbb55b930ae16735a09f5658f37426baff4c217159c8
|
|
| MD5 |
4947b1d52885febe1f6297866c014fc3
|
|
| BLAKE2b-256 |
33b87b07945c2aababe0903e47c499ab026efd895e634ab0ca1ece080c398aec
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e7595722357954e2e31fd7b30eb1168b814596f321338360f0573e390ac5b46
|
|
| MD5 |
a973471633875542f2ba6d97fe0bf9e9
|
|
| BLAKE2b-256 |
ef808f408f1fd59979845ba3b5ade06c4f846f7d9e8637f5621625d8fff7d799
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 375.2 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c3afad328f470bb503ce3250f9e2fab88f213f95b0a2c8f8c847c593451eae
|
|
| MD5 |
0091e2dbefca67636285649eb018b878
|
|
| BLAKE2b-256 |
e8edbe5da88628a3d3031588c03ea61b2467aef217a0ed756977c623879b9dce
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl
- Upload date:
- Size: 386.4 kB
- Tags: CPython 3.11, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f260386cbb31c663583db3ed25f32b7dd007f2378034a88b409110fbe11300c
|
|
| MD5 |
aa02ba2f3f787f3d24f7fd0558f7db87
|
|
| BLAKE2b-256 |
6d9389701ec4549fc9189a6a1860abba2a402cecce0169807cc3b32e948aebc9
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp310-none-win_amd64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp310-none-win_amd64.whl
- Upload date:
- Size: 259.7 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ae5cbabc69399757a311d5bb8c22ab7ce99c1c4e8ee286d30ff3c3289f5262c
|
|
| MD5 |
61a60193c37d5e3bd043f05e7a8a6a8b
|
|
| BLAKE2b-256 |
15062f5e15d2b589fa07f9ff3d747bc64d462921681b6b32a50b7de9a7263b64
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e403db9befac494f776c226b8356bb7547a3a0a1928c2a572dd5a0a55cf42b2e
|
|
| MD5 |
4ad3e95aba2d95bc0c30e11541c65d5e
|
|
| BLAKE2b-256 |
2b34104bf36c80a9c229ee0c44341fea6ce37a8ce57bfe9f742e1351b3a2f526
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3594f01a718fd48ebbbc00c3deecdea3a411a20ee7e27455f011b1a49b498510
|
|
| MD5 |
d3e1cd1b5a0bf42075b32ff2de8177cc
|
|
| BLAKE2b-256 |
5792f8782e3911e917a80d2d0430f86de5cc476924db4919a2be08b6ce6a6619
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 375.2 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6adcaf3d0cba0b3ea3fc64cadabafeedd3297bef5c38bb6ea4c0ce5e178e3116
|
|
| MD5 |
74306c0cc1bbc000565e916a4b66c1aa
|
|
| BLAKE2b-256 |
31035d8b02452513417d2d975428861046739a7606c8aa24cbbc1b6a4cff9dea
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 386.4 kB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60383da6d04237202b84cdccbee5eb70d65910897284dc2afbda739530f1151c
|
|
| MD5 |
b8d195df3f2a228e6a792b379693a070
|
|
| BLAKE2b-256 |
46fac41b8d859c2b4890302bf193443df9399901025374f7fd5b1fef6b236d95
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp39-none-win_amd64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp39-none-win_amd64.whl
- Upload date:
- Size: 259.5 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e758f22b78d16c6fb902361146db38a0697d46b6539d0cd1261d21ae1bf01d0
|
|
| MD5 |
d711703612acfc82f7fad792224806fd
|
|
| BLAKE2b-256 |
3c67fc2f6f000d2d8e8d81f95f6a03470bd8ec3e287a4d9ac22fdb24d571bb06
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b252f2140e199ed317793a0381cc0848a5b4960b8d7782b41fee6520f8d85663
|
|
| MD5 |
b2263ba26b1f8badd441be2b5b5a50a6
|
|
| BLAKE2b-256 |
3ad9f89e695337d5ad34cc5f396c1790ff1a408b0cea97ff986f616522e68b2f
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d923009caeefff0029aa1d467f1c6fb8e9ae39e07276b667ff224b038edddc
|
|
| MD5 |
e1f29d70ac6ab3429654678574aa017e
|
|
| BLAKE2b-256 |
7886dcbca92aa707e9a17c75abc4e6a644f5c9296efbed12285c95dd9083f08d
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp38-none-win_amd64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp38-none-win_amd64.whl
- Upload date:
- Size: 259.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50c9ab656dd69f2a7bba59ccafc21491355705e8a2bb22e41765f3fdcaf39b7d
|
|
| MD5 |
d2a421c4e7986bd2cd07cad4c2fb124e
|
|
| BLAKE2b-256 |
7fb696838fdddcd52740ba2743dc26608fcbcc45229ff2a474d454bcf3cf3c44
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b69dfa10b2f7d146a32b69000ca17a226cebd508db1dd0f182374066449798f6
|
|
| MD5 |
2b8fc143b4838a10ac08b04741e7d50e
|
|
| BLAKE2b-256 |
4977ba68bdab67a5a138f1bdaed3b746acf29c6b5ef321955a1dca2e47bcaa6d
|
File details
Details for the file starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: starknet_pathfinder_crypto-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd2f7b4b3d3acd385a63dfe1a5d836b2e363bf5dc4d02b238aa034de15c9cf07
|
|
| MD5 |
a3f09ec7ee870a544ee13414caee7981
|
|
| BLAKE2b-256 |
72f34da91e984e3e1fbbf9973e35ddfb4cce7acc03a555814d2a0a1659b81e98
|