Commit Graph

15 Commits

Author SHA1 Message Date
0ed566500f
Use fallback.RIPEMD160Hash() in the test for deterministic keys 2024-04-16 20:18:37 +03:00
c51b2875df
Tests for keys generation
this implementation for deterministic keys requires a passphrase of type bytes
2024-04-16 20:18:37 +03:00
7348568c78
The test for double SHA512 2024-04-13 03:19:55 +03:00
1b9773f2cf
A dummy test for randomBytes 2024-04-12 15:47:06 +03:00
799237c7ff
Don't use BMConfigParser in highlevelcrypto, instead use digestAlg kwarg,
both in .sign() and .verify(), extend TestHighlevelcrypto.test_signatures().
2024-04-05 03:10:24 +03:00
fd3567b3fa
Add a test for sign() and verify() 2024-04-05 02:44:28 +03:00
3be996eb64
Replace obsolete pycrypto with pycryptodome to support jammy:
pycrypto fails to install, openssl 3 has no ripemd160 hash.
Also skip test_crypto.TestHashlib if openssl 3 is found.
2022-05-30 21:32:56 +03:00
6360c2773d
Separate pyelliptic tests from crypto tests and add simple tests for
changebase(), decode(), encode(), hex_to_point() and point_to_hex()
2021-08-17 15:57:08 +03:00
e76a47779e
Gather all the sample data in a samples module 2021-08-17 15:56:26 +03:00
ddb366b477
Separate address tests from crypto and rename the test case 2021-08-13 19:04:03 +03:00
faed885c34
Fix python3 issues in test_crypto:
- use bytes for python3
 - encode the result of arithmetic.privtopub
 - add test for arithmetic.base10_multiply
2021-02-18 17:12:42 +02:00
f8844f4d74
Use common.skip_python3() to skip tests modules not supporting python3 2021-02-17 17:11:25 +02:00
c5b77a08fa
Moved addresses demo script into tests.test_crypto 2020-05-05 17:30:31 +03:00
0d7b3a3823
Suppressed pylint warnings in test_crypto 2019-04-22 12:53:59 +03:00
e163137893
Added pycrypto fallback for RIPEMD160 hash function 2019-04-22 12:53:59 +03:00