Documentation
¶
Index ¶
Constants ¶
View Source
const BlockSize = 16
block length and cipher key length are both of 128 bits
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IterativeMode ¶
type IterativeMode uint8
const ( IterativeECB IterativeMode = iota IterativeCBC )
type Sm4Option ¶
type Sm4Option func(*sm4Options)
func WithIterCBC ¶
func WithIterECB ¶
func WithIterECB() Sm4Option
func WithPadding ¶
Click to show internal directories.
Click to hide internal directories.