Go to file
str4d db01d4e23b
Merge pull request #63 from zcash-hackworks/ci-check-test-vectors
CI: Add workflow to verify test vectors are up-to-date
2022-01-10 16:36:00 +00:00
.github/workflows CI: Ensure that all test vector variants are always checked 2022-01-08 00:45:22 +00:00
test-vectors Commit generated test vectors 2022-01-07 22:57:23 +00:00
.gitignore Additions to .gitignore. 2018-07-03 15:04:41 +01:00
COPYING.md Move COPYING to COPYING.md so that it will be rendered correctly by GitHub. 2021-10-12 14:12:11 +01:00
LICENSE-APACHE Add license information 2019-07-03 17:37:23 +01:00
LICENSE-MIT Update copyright year in LICENSE-MIT. 2022-01-04 19:34:54 +00:00
README.md Revert a change made in #53, so that the license and contribution preamble is visible in `README.md`. 2022-01-04 17:09:56 +00:00
bech32m.py Add test vectors for unified address encodings. 2021-06-12 17:09:21 -06:00
f4jumble.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
f4jumble_long.py Apply suggestion for the type of jumbled_hash. 2021-09-17 20:40:48 +01:00
ff1.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_commitments.py Updates for new NU5 testnet consensus rules 2021-09-28 22:34:42 +01:00
orchard_empty_roots.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_generators.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_group_hash.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_iso_pallas.py Apply suggestions from code review 2021-04-29 02:07:46 +01:00
orchard_key_components.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_map_to_curve.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_merkle_tree.py Merge pull request #49 from daira/large-uas 2021-09-23 11:19:40 +12:00
orchard_note.py Address review comments 2021-05-28 23:37:49 +08:00
orchard_note_encryption.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_pallas.py Return base field element from commit_ivk() 2021-05-11 20:06:32 +08:00
orchard_poseidon.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
orchard_poseidon_hash.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01: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
poetry.lock Add test vectors for unified viewing keys. 2021-12-10 10:06:51 -07:00
pyproject.toml Add test vectors for unified viewing keys. 2021-12-10 10:06:51 -07:00
regenerate.sh CI: Add workflow to verify test vectors are up-to-date 2022-01-07 22:57:23 +00:00
sapling_generators.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
sapling_jubjub.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
sapling_key_components.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
sapling_merkle_tree.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
sapling_note_encryption.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01: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 chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
sapling_zip32.py Add test vectors for unified viewing keys. 2021-12-10 10:06:51 -07:00
transaction.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
tv_output.py ZIP 244: Add new commitments to transparent inputs 2022-01-06 21:11:35 +00:00
tv_rand.py Add test vectors for unified viewing keys. 2021-12-10 10:06:51 -07:00
unified_address.py Add test vectors for unified viewing keys. 2021-12-10 10:06:51 -07:00
unified_encoding.py Encode UAs/UVKs in ascending typecode order. 2022-01-04 15:26:06 +00:00
unified_full_viewing_keys.py Cosmetics. 2022-01-04 15:26:18 +00:00
utils.py Rename sapling_utils.py to utils.py. 2021-05-09 12:44:39 +08:00
zc_utils.py Add test vectors for unified viewing keys. 2021-12-10 10:06:51 -07:00
zip_0143.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
zip_0243.py chmod +x for scripts and make the shebang/preamble consistent. 2021-09-15 18:03:47 +01:00
zip_0244.py ZIP 244: Reverse order of value and script_code in txin_sig_digest 2022-01-06 21:33:28 +00: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.