dcrypto.key

Undocumented in source.

Members

Functions

keyFromSecret
Key keyFromSecret(string data, string salt, int rounds, int keyLength, int ivLength)

Build and return a key based on secret data using the specified salt

keyFromSecret
Key keyFromSecret(string data, int rounds, int keyLength, int ivLength)

Build and return a key based on secret data with a random salt generated

Structs

Key
struct Key

Basic struct for for storing a key. Includes a key, an iv and a salt.

Meta