Versions in this module Expand all Collapse all v1 v1.8.12 Jul 4, 2018 Changes in this version + const KeyLength + func New(padding int, initCtr uint32, hashFunc func() hash.Hash) *encryption + type Encryption interface + Decrypt func(data []byte, key Key) ([]byte, error) + Encrypt func(data []byte, key Key) ([]byte, error) + type Key []byte + func GenerateRandomKey() (Key, error)