Versions in this module Expand all Collapse all v1 v1.1.0 Aug 14, 2015 Changes in this version + const KeySize + var ErrInvalidIV = fmt.Errorf("invalid IV") + var ErrPadding = fmt.Errorf("invalid padding") + var ErrRandomFailure = fmt.Errorf("failed to read enough random data") + func Decrypt(key string, encryptedMessage []byte) ([]byte, error) + func DigestBytes(message []byte) []byte + func Encrypt(key string, message []byte) ([]byte, error)