Documentation
¶
Index ¶
Constants ¶
View Source
const ( // BlockSize is the size of a TEA block, in bytes. BlockSize = 8 // KeySize is the size of a TEA key, in bytes. KeySize = 16 )
Variables ¶
This section is empty.
Functions ¶
func NewCipher ¶
NewCipher returns an instance of the TEA cipher with the standard number of rounds. The key argument must be 16 bytes long.
Types ¶
This section is empty.
Source Files
¶
- cipher.go
Click to show internal directories.
Click to hide internal directories.