Module api
Structs§
- Auth
Hash - Derived
Symmetric Key - Ed25519
- Ed25519
Signature - Encrypted
Message - Encrypted
Temp Key - Random Fp12, encrypted to the delegatee. Used to unroll transforms.
- Hashed
Value - A combination of the hash of
EncryptedTempKey
and thePrivateKey
of the delegator. Used to recover the plaintext from anEncryptedTempKey
- Plaintext
- Private
Key - Public
Key - Public
Signing Key - Random
Bytes - Recrypt
- Recrypt public API - 256-bit
- Schnorr
Signature - Sha256
- Signing
Keypair - The first 32 bytes of this are the Secret Ed25519 key and the 2nd 32 bytes are the Compressed Y form of the public key.
- Transform
Block - Describes a single transform. Multiple
TransformBlocks
(in series) describe multi-hop transforms. - Transform
Key - TransformKeys allow a message encrypted to one public key (the key of the delegator) to be transformed and appear as if it was encrypted to another public key (the key of hte delegatee), or put another way, a TransformKey changes which private_key can decrypt the data.
Enums§
- Encrypted
Value - Encrypted value that is either initially encrypted or one that has been transformed one or more times
- Recrypt
Err - Errors generated by the API
Traits§
- Crypto
Ops - Encrypt, Decrypt, Transform, and supporting operations.
- Ed25519
Ops - Ed25519
Signing - Hashable
- Typeclass for converting an implementing type to a stable byte representation which can be used for hashing (and thus the hash value will also remain consistent) Inverse of BytesDecoder
- KeyGen
Ops - Key generation operations
- Random
Bytes Gen - Generation of random bytes for cryptographic operations
- Schnorr
Ops - Sha256
Hashing