Versions in this module Expand all Collapse all v0 v0.1.1 Jul 23, 2026 Changes in this version + func EmptyPlaintext(p Params) ([]byte, error) v0.1.0 Jul 16, 2026 Changes in this version + const DefaultIter + const DefaultPageSize + const HMACSize + const IVSize + const KeySize + const Reserve + const SaltSize + var ErrKey = errors.New("sqlcipher: wrong key or corrupted page") + func DecryptFile(dst io.Writer, src io.Reader, k Key, p Params) error + func EncryptFile(dst io.Writer, src io.Reader, k Key, salt []byte, p Params) error + func FileSalt(page1 []byte) ([]byte, error) + type Codec struct + func NewCodec(k Key, salt []byte, p Params) (*Codec, error) + func (c *Codec) Decrypt(pgno uint32, page []byte) ([]byte, error) + func (c *Codec) Encrypt(pgno uint32, page []byte) ([]byte, error) + func (c *Codec) PageSize() int + func (c *Codec) Salt() []byte + type Key struct + func Passphrase(pass string) Key + func RawKey(key []byte) Key + type Params struct + Iter int + PageSize int