simon

package
v1.0.4017 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 16

Variables

This section is empty.

Functions

func NewCipher

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

NewCipher creates and returns a new cipher.Block. simon128

func NewCipher128

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

NewCipher128 creates and returns a new cipher.Block.

func NewCipher192

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

NewCipher192 creates and returns a new cipher.Block.

func NewCipher256

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

NewCipher256 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