speck

package module
v0.0.0-...-57fab71 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 2 Imported by: 0

README

speck

Speck cipher

Documentation

Overview

Package speck implements the Speck cipher.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCipher

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

NewCipher creates and returns a new cipher.Block.

Types

type SizeError

type SizeError struct {
	BlockSize int
	KeySize   int
}

func (SizeError) Error

func (e SizeError) Error() string

Directories

Path Synopsis
internal
ecb
Package ecb implements the electronic codebook (ECB) block cipher mode of operation.
Package ecb implements the electronic codebook (ECB) block cipher mode of operation.
subtle
Package subtle copies the AnyOverlap and InexactOverlap functions from the Go standard library's crypto/internal/subtle package.
Package subtle copies the AnyOverlap and InexactOverlap functions from the Go standard library's crypto/internal/subtle package.

Jump to

Keyboard shortcuts

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