Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Public Member Functions | |
def | __init__ (self, OwnershipPublicKey a_pk, EncryptionPublicKey k_pk, OwnershipSecretKey a_sk, EncryptionSecretKey k_sk) |
OwnershipKeyPair | ownership_keypair (self) |
Static Public Member Functions | |
ZethAddress | from_key_pairs (OwnershipKeyPair ownership, EncryptionKeyPair encryption) |
ZethAddress | from_secret_public (ZethAddressPriv js_secret, ZethAddressPub js_public) |
Public Attributes | |
addr_pk | |
addr_sk | |
Secret and public keys for both ownership and encryption (referrred to as "zethAddress" in the paper).
Definition at line 75 of file zeth_address.py.
def zeth.core.zeth_address.ZethAddress.__init__ | ( | self, | |
OwnershipPublicKey | a_pk, | ||
EncryptionPublicKey | k_pk, | ||
OwnershipSecretKey | a_sk, | ||
EncryptionSecretKey | k_sk | ||
) |
Definition at line 80 of file zeth_address.py.
|
static |
Definition at line 90 of file zeth_address.py.
|
static |
Definition at line 100 of file zeth_address.py.
OwnershipKeyPair zeth.core.zeth_address.ZethAddress.ownership_keypair | ( | self | ) |
Definition at line 106 of file zeth_address.py.
zeth.core.zeth_address.ZethAddress.addr_pk |
Definition at line 81 of file zeth_address.py.
zeth.core.zeth_address.ZethAddress.addr_sk |
Definition at line 82 of file zeth_address.py.