Package kdf is a Key Derivation Function that uses Blake2b hashes repeatedly to slow down brute force password search attacks, and used to symmetrically encrypt master keys and the like that secure data with a full 32 bit random ciphertext
Gen takes a password and a random 12 byte initialisation vector and hashes it using Blake2b-384, returning a 32 byte ciphertext that is used to encrypt and decrypt the ciphertext from the crypt