kseed

package
v1.0.4019 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 16

Variables

View Source
var KCi = [16]uint32{
	0x9E3779B9, 0x3C6EF373,
	0x78DDE6E6, 0xF1BBCDCC,
	0xE3779B99, 0xC6EF3733,
	0x8DDE6E67, 0x1BBCDCCF,
	0x3779B99E, 0x6EF3733C,
	0xDDE6E678, 0xBBCDCCF1,
	0x779B99E3, 0xEF3733C6,
	0xDE6E678D, 0xBCDCCF1B,
}
View Source
var SS0 = [256]uint32{}/* 256 elements not displayed */
View Source
var SS1 = [256]uint32{}/* 256 elements not displayed */
View Source
var SS2 = [256]uint32{}/* 256 elements not displayed */
View Source
var SS3 = [256]uint32{}/* 256 elements not displayed */

Functions

func F

func F(L1, L2 *uint32, R1, R2, K1, K2 uint32)

func G

func G(x uint32) uint32

func NewCipher

func NewCipher(key []byte) (cipher.Block, error)

NewCipher creates and returns a new cipher.Block.

Types

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL