Versions in this module Expand all Collapse all v1 v1.1.0 May 11, 2026 Changes in this version + const HeaderLength + const IVLength + const KeyLength + const LengthPrefix + const SaltLength + func Decrypt(ciphertext []byte, password1, password2 string, controlData []byte) ([]byte, error) + func DeriveKey(password1, password2 string, salt []byte) []byte + func Encrypt(plaintext []byte, password1, password2 string, controlData []byte) ([]byte, []byte, error) + func GenerateControlData(size int) []byte + func GenerateDeniableControl(ciphertext []byte, password1, password2 string, desiredPlaintext []byte) ([]byte, error) Other modules containing this package github.com/deny-sh-crypto/deny-go/v2