threeway

package
v1.0.3011 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BlockSize = 12
View Source
const NMBR uint32 = 11 // number of rounds is 11
View Source
const STRT_D uint32 = 0xb1b1 // round constant of first decryption round
View Source
const STRT_E uint32 = 0x0b0b // round constant of first encryption round

Variables

This section is empty.

Functions

func NewCipher

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

NewCipher creates and returns a new cipher.Block. data bytes use BigEndian

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