Module recrypt::api [−]
Structs
Api |
Recrypt public API |
AuthHash | |
DerivedSymmetricKey | |
Ed25519 | |
Ed25519Signature | |
EncryptedMessage | |
EncryptedTempKey |
Random Fp12, encrypted to the delegatee. Used to unroll transforms. |
HashedValue |
A combination of the hash of |
Plaintext |
Not hashed, not encrypted Fp12Elem See DecryptedSymmetricKey and EncryptedMessage |
PrivateKey | |
PublicKey | |
PublicSigningKey | |
RandomBytes | |
SchnorrSignature | |
Sha256 | |
SigningKeypair |
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. |
TransformBlock |
Describes a single transform. Multiple |
TransformKey |
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
ApiErr |
Errors generated by the API |
EncryptedValue |
Encrypted value that is either initially encrypted or one that has been transformed one or more times |
Traits
CryptoOps |
Encrypt, Decrypt, Transform, and supporting operations. |
Ed25519Ops | |
Ed25519Signing | |
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 |
KeyGenOps |
Key generation operations |
RandomBytesGen |
Generation of random bytes for cryptographic operations |
SchnorrOps | |
Sha256Hashing |
Type Definitions
ByteVector |