Module salty::constants[][src]

Constants

COMPRESSED_Y_LENGTH

the length of a compressed point

FIELD_ELEMENT_LENGTH

the length of a field element (base field of Curve25519)

PUBLICKEY_SERIALIZED_LENGTH

the length of a public key when serialized

SCALAR_LENGTH

the length of a scalar (module structure on Curve25519)

SECRETKEY_NONCE_LENGTH

the length of the nonce part of a secret key (internal)

SECRETKEY_SCALAR_LENGTH

the length of the scalar part of a secret key (internal)

SECRETKEY_SEED_LENGTH

the length of the seed part of a secret key (internal)

SECRETKEY_SERIALIZED_LENGTH

the length of a secret key when serialized

SHA256_LENGTH

the length of a SHA256 digest

SHA512_LENGTH

the length of a SHA512 digest

SIGNATURE_SERIALIZED_LENGTH

the length of a signature when serialized