Crate symbol_crypto_core[−][src]
Modules
curve25519 | Note that docs will only build on nightly Rust until RFC 1990 stabilizes. |
ed25519 | A Rust implementation of ed25519 key generation, signing, and verification. |
Structs
CryptoSym | |
H256 | 256 bit hash type. |
H512 | 512 bit hash type. |
Keypair | It represents an asymmetric private/public encryption key. |
PrivateKey | 256 bit hash type. |
PublicKey | 256 bit hash type. |
Signature | 512 bit hash type. |
Constants
AES_TAG_LENGTH | The length Symbol Aes Tag in bytes. |
KEYPAIR_LENGTH | The length of an |
KEY_BYTES_SIZE | The length of an key in bytes. |
KEY_STR_SIZE | The length of an key in str. |
NIS_AES_IV_LENGTH | The length Nis1 Aes IV in bytes. |
NIS_SALT_LENGTH | The length Nis1 Salt in bytes. |
SIGNATURE_LENGTH | The length of an |
SYM_AES_IV_LENGTH | The length Symbol Aes IV in bytes. |
Traits
BlockCipher | This trait defines an association of symbol or nis1 encrypt and decrypt message. |
KeyPairSchema | This trait defines a schema: an association of symbol or nis1 keypair type. |
Functions
derive_shared_secret | |
hex_to_vec | Decodes a hex string into raw bytes. |
is_hex | |
random_bytes |
Type Definitions
AesKey | |
SharedSecret | |
Sym |