Documentation ¶
Index ¶
Constants ¶
View Source
const BlockSize = 1
Variables ¶
This section is empty.
Functions ¶
func NewCipher ¶
NewCipher creates and returns a new cipher.Block. key is 16 bytes, so 32 bytes is used half bytes. so the cipher use 16 bytes key.
func Uint32ToBytes ¶
func Uint32sToBytes ¶
Types ¶
type KeySizeError ¶
type KeySizeError int
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.