...
Package cast5
Overview ▹
Index ▹
Constants
const BlockSize = 8
const KeySize = 16
type Cipher ¶
type Cipher struct {
// contains filtered or unexported fields
}
func NewCipher ¶
func NewCipher(key []byte) (c *Cipher, err error)
func (*Cipher) BlockSize ¶
func (c *Cipher) BlockSize() int
func (*Cipher) Decrypt ¶
func (c *Cipher) Decrypt(dst, src []byte)
func (*Cipher) Encrypt ¶
func (c *Cipher) Encrypt(dst, src []byte)