Module rncryptor::v3::types [] [src]

The types.

Structs

CipherText

An CipherText, essentially a wrapper around a Vec<u8>.

EncryptionKey

An EncryptionKey, which can be constructed from a EncryptionSalt and a password.

HMAC

An HMAC, which can be constructed out of an Header, some bytes and an HMACKey.

HMACKey

A HMACKey, which can be constructed from an HMACSalt and a password.

Header

A RNCryptor Header built during the encryption/decryption process.

IV

An IV (Initialization Vector) which can be completely random or user constructed.

Salt

A Salt, which can be completely random or user-constructed.

Type Definitions

EncryptionSalt

Simply a type synonym for a Salt, to make the API more descriptive.

HMACSalt

Simply a type synonym for a Salt, to make the API more descriptive.

Message

An encrypted message, the result of the encryption process.

Password

A password.

PlainText

A plain text, which is something not encrypted.