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