Go to file
str4d 232aaa3474
Update f4jumble.py
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-05-12 13:06:52 +01:00
.gitignore Additions to .gitignore. 2018-07-03 15:04:41 +01:00
LICENSE-APACHE Add license information 2019-07-03 17:37:23 +01:00
LICENSE-MIT Add license information 2019-07-03 17:37:23 +01:00
README.md Add numpy dependency to README 2021-05-09 06:53:31 +12:00
f4jumble.py Update f4jumble.py 2021-05-12 13:06:52 +01:00
ff1.py Add FF1 test vectors matching @str4d's Rust implementation. 2018-08-03 14:03:51 +01:00
orchard_group_hash.py Apply suggestions from code review 2021-04-29 02:07:46 +01:00
orchard_iso_pallas.py Apply suggestions from code review 2021-04-29 02:07:46 +01:00
orchard_map_to_curve.py Generate random test vectors for MapToCurve, GroupHash, Sinsemilla 2021-04-29 12:59:16 +12:00
orchard_merkle_tree.py Fix length of layer prefix in orchard_merkle_tree.py. 2021-05-06 16:14:28 +01:00
orchard_pallas.py Merge pull request #17 from zcash-hackworks/sinsemilla-test-vectors 2021-04-29 02:20:39 +01:00
orchard_poseidon.py Apply suggestions from code review 2021-05-08 19:51:33 +01:00
orchard_poseidon_hash.py Only return first state element from Poseidon hash 2021-05-07 12:59:38 +08:00
orchard_sinsemilla.py Generate random test vectors for MapToCurve, GroupHash, Sinsemilla 2021-04-29 12:59:16 +12:00
sapling_generators.py Explicitly check Points against None 2019-02-22 22:10:57 +00:00
sapling_jubjub.py Add implementation of Pallas 2021-02-25 14:52:13 +00:00
sapling_key_components.py cm -> cmu 2018-08-03 15:41:32 +01:00
sapling_merkle_tree.py Add assertions that we are running under Python 3. 2018-07-25 01:16:22 +01:00
sapling_note_encryption.py Sapling note encryption test vectors 2018-11-14 13:13:06 +00:00
sapling_notes.py Add assertions that we are running under Python 3. 2018-07-25 01:16:22 +01:00
sapling_pedersen.py Add assertions that we are running under Python 3. 2018-07-25 01:16:22 +01:00
sapling_signatures.py Add assertions that we are running under Python 3. 2018-07-25 01:16:22 +01:00
sapling_utils.py Remove unused beos2bsp, and add a test assertion comparing leos2ip with lebs2ip o leos2bsp. 2018-08-03 14:05:42 +01:00
sapling_zip32.py Correct the encoding of depth. 2018-07-31 19:22:25 +01:00
transaction.py Fix Rand.u8() to return unsigned integers 2021-04-29 12:57:40 +12:00
tv_output.py Render array of bytearrays in tv_output 2021-05-07 12:58:33 +08:00
tv_rand.py Fix Rand.u8() to return unsigned integers 2021-04-29 12:57:40 +12:00
zc_utils.py Implement CompactSize helper 2018-08-20 12:26:48 +01:00
zip_0143.py Fix Rand.u8() to return unsigned integers 2021-04-29 12:57:40 +12:00
zip_0243.py Fix Rand.u8() to return unsigned integers 2021-04-29 12:57:40 +12:00

README.md

Zcash Python test vectors

Code to generate test vectors for various parts of Zcash.

Requirements:

  • pyblake2
  • chacha20poly1305 (for sapling_note_encryption.py).
  • numpy (for orchard_poseidon.py and dependents).

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.