diff --git a/unified_full_viewing_keys.py b/unified_full_viewing_keys.py index 3796623..07a1107 100755 --- a/unified_full_viewing_keys.py +++ b/unified_full_viewing_keys.py @@ -1,21 +1,17 @@ #!/usr/bin/env python3 import sys; assert sys.version_info[0] >= 3, "Python 3 required." -import math from random import Random -import struct from cryptography.hazmat.primitives.asymmetric import ec from cryptography.hazmat.primitives.serialization import PublicFormat, Encoding from zcash_test_vectors.output import render_args, render_tv, Some from zcash_test_vectors.rand import Rand, randbytes -from zcash_test_vectors.zc_utils import write_compact_size, parse_compact_size -from zcash_test_vectors.f4jumble import f4jumble, f4jumble_inv from zcash_test_vectors.orchard import key_components as orchard_key_components from zcash_test_vectors.sapling import zip32 as sapling_zip32 from zcash_test_vectors.unified_encoding import encode_unified, decode_unified -from zcash_test_vectors.unified_encoding import P2PKH_ITEM, P2SH_ITEM, SAPLING_ITEM, ORCHARD_ITEM +from zcash_test_vectors.unified_encoding import P2PKH_ITEM, SAPLING_ITEM, ORCHARD_ITEM def main(): args = render_args()