Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Classes | |
class | OwnershipKeyPair |
Functions | |
str | ownership_key_as_hex (bytes a_sk) |
OwnershipPublicKey | ownership_public_key_from_hex (str key_hex) |
OwnershipSecretKey | ownership_secret_key_from_hex (str key_hex) |
OwnershipKeyPair | gen_ownership_keypair () |
Variables | |
OwnershipSecretKey = NewType('OwnershipSecretKey', bytes) | |
OwnershipPublicKey = NewType('OwnershipPublicKey', bytes) | |
OwnershipKeyPair zeth.core.ownership.gen_ownership_keypair | ( | ) |
Definition at line 59 of file ownership.py.
str zeth.core.ownership.ownership_key_as_hex | ( | bytes | a_sk | ) |
Convert either a secret or public ownership key to hex representation of the underlying 32-byte object.
Definition at line 37 of file ownership.py.
OwnershipPublicKey zeth.core.ownership.ownership_public_key_from_hex | ( | str | key_hex | ) |
Read an ownership public key from a hex string.
Definition at line 45 of file ownership.py.
OwnershipSecretKey zeth.core.ownership.ownership_secret_key_from_hex | ( | str | key_hex | ) |
Read an ownership public key from a hex string.
Definition at line 52 of file ownership.py.
zeth.core.ownership.OwnershipPublicKey = NewType('OwnershipPublicKey', bytes) |
Definition at line 22 of file ownership.py.
zeth.core.ownership.OwnershipSecretKey = NewType('OwnershipSecretKey', bytes) |
Definition at line 18 of file ownership.py.