Documentation ¶
Index ¶
Constants ¶
View Source
const BlockSize = 8
View Source
const KeySize = 16
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdeaCipher ¶
type IdeaCipher struct { TestMode bool // contains filtered or unexported fields }
func NewCipher ¶
func NewCipher(key []byte) IdeaCipher
func (IdeaCipher) BlockSize ¶
func (IdeaCipher) BlockSize() int
func (IdeaCipher) Decrypt ¶
func (t IdeaCipher) Decrypt(dst, src []byte)
func (IdeaCipher) Encrypt ¶
func (t IdeaCipher) Encrypt(dst, src []byte)
func (IdeaCipher) GetSubKeys ¶
func (t IdeaCipher) GetSubKeys() ([]uint16, []uint16)
Click to show internal directories.
Click to hide internal directories.