Documentation ¶
Index ¶
Constants ¶
View Source
const BlockSize = 16
Variables ¶
View Source
var KIdx = [8][7]uint32{
{0, 1, 2, 3, 4, 5, 6},
{7, 0, 1, 2, 3, 4, 5},
{6, 7, 0, 1, 2, 3, 4},
{5, 6, 7, 0, 1, 2, 3},
{4, 5, 6, 7, 0, 1, 2},
{3, 4, 5, 6, 7, 0, 1},
{2, 3, 4, 5, 6, 7, 0},
{1, 2, 3, 4, 5, 6, 7},
}
View Source
var S = [256]byte{}/* 256 elements not displayed */
Functions ¶
Types ¶
type KeySizeError ¶
type KeySizeError int
KeySizeError is returned when key size in bytes isn't one of 16, 24, or 32.
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.