Module argonautica::input[][src]

Type-safe structs representing data to hash (i.e. Password, Salt, SecretKey, and AdditionalData)

All the stucts below can be constructed from Vec<u8>, &[u8], String, &str, as well as other types, as they all implement several versions of the From trait. Some have additional constructors as well, e.g. Salt::random(...), which produces a Salt that will create new crytographically-secure, random bytes after each hash.

Structs

AdditionalData

Type-safe struct representing the raw bytes of your additional data (if any)

Password

Type-safe struct representing the raw bytes of a password

Salt

Type-safe struct representing the raw bytes of your salt

SecretKey

Type-safe struct representing the raw bytes of a secret key