Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cipher ¶
A Cipher is an instance of SSHv1 Blowfish encryption using a particular key.
func NewCipher ¶
NewCipher creates and returns a Cipher. The key argument should be the Blowfish key, from 1 to 56 bytes.
func (*Cipher) BlockSize ¶
BlockSize returns the Blowfish block size, 8 bytes. It is necessary to satisfy the Block interface in the package "crypto/cipher".
func (*Cipher) Decrypt ¶
Decrypt decrypts the 8-byte buffer src using the key k and stores the result in dst.
Click to show internal directories.
Click to hide internal directories.