Versions in this module Expand all Collapse all v0 v0.0.1 Aug 5, 2019 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