Go to file
Jack Grigg fea2456bef Fix Orchard key components test vectors
- Removed `note_r` (scalar copied from Sapling)
- Added `note_rseed` (bytes)
- `note_psi` needs to be derived from `note_rseed`
- missing `dk`, `note_rho` from output
2021-05-28 11:51:57 +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
ff1.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
orchard_commitments.py Remove whitespace in note_commit and commit_ivk personalisations 2021-05-13 12:57:07 +08:00
orchard_generators.py Apply suggestions from code review 2021-05-09 12:41:18 +08:00
orchard_group_hash.py orchard_commitments.py and orchard_group_hash.py: type fixes. 2021-05-09 12:44:40 +08:00
orchard_iso_pallas.py Apply suggestions from code review 2021-04-29 02:07:46 +01:00
orchard_key_components.py Fix Orchard key components test vectors 2021-05-28 11:51:57 +01:00
orchard_map_to_curve.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
orchard_merkle_tree.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
orchard_note.py Call rcm() and psi() using self.rho() 2021-05-27 12:51:50 +08:00
orchard_note_encryption.py Set cm_star = cm.extract() instead of the point cm 2021-05-27 13:02:29 +08:00
orchard_pallas.py Return base field element from commit_ivk() 2021-05-11 20:06:32 +08:00
orchard_poseidon.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
orchard_poseidon_hash.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
orchard_sinsemilla.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
orchard_utils.py Add orchard_utils.py 2021-05-26 14:10:36 +08:00
sapling_generators.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_jubjub.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_key_components.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_merkle_tree.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_note_encryption.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_notes.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_pedersen.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_signatures.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_zip32.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
transaction.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08: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
utils.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08: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.