-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: build merkle root, merkle tree and merkle proof with Rust #52
Conversation
@@ -0,0 +1,45 @@ | |||
from Crypto.Hash import keccak |
Check failure
Code scanning / Bandit
The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error test
|
||
from merkly.accelerator.mtreers import MTreers | ||
from merkly.mtree import MerkleTree | ||
from Crypto.Hash import keccak |
Check failure
Code scanning / Bandit
The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error test
print(tree.human_leaves) | ||
treers.make_root(hash_leaves) | ||
|
||
assert 1 == 2 |
Check notice
Code scanning / Bandit
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test
No description provided.