Versions in this module Expand all Collapse all v6 v6.0.0 Oct 11, 2019 Changes in this version + const KeySize + const NonceSize + func Decrypt(encryptedData, nonce, secretKey []byte) ([]byte, error) + func DecryptConvergent(encryptedData, salt, secretKey []byte) ([]byte, error) + func Desalinate(data []byte, length int) (desalted []byte, salt []byte) + func Salinate(data, salt []byte) []byte + type Args struct + AdditionalData []byte + BlockCipherMaker BlockCipherMaker + Nonce []byte + SecretKey []byte + type Blob struct + EncryptedData []byte + SecretKey []byte + func Encrypt(data, nonce, secretKey []byte) (*Blob, error) + func EncryptConvergent(data, salt []byte) (*Blob, error) + type BlockCipherMaker func(key []byte) (cipher.Block, error) Other modules containing this package github.com/monax/hoard github.com/monax/hoard/v3 github.com/monax/hoard/v4 github.com/monax/hoard/v5 github.com/monax/hoard/v7 github.com/monax/hoard/v8