Documentation ¶
Index ¶
- Constants
- Variables
- func Crack(ciphertext, crib []byte) (key []byte, err error)
- func NewCipher(key []byte) (cipher.Block, error)
- func NewDecrypter(block cipher.Block) cipher.BlockMode
- func NewEncrypter(block cipher.Block) cipher.BlockMode
- func Pad(data []byte, blockSize int) []byte
- func Unpad(data []byte, blockSize int) []byte
Constants ¶
View Source
const BlockSize = 32
Variables ¶
View Source
var ErrKeySize = errors.New("shift: invalid key size")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.