hight

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Overview

Package hight implements HIGHT encryption, as defined in TTAS.KO-12.0040/R1

Index

Constants

View Source
const (
	// The HIGHT block size in bytes.
	BlockSize = 8
	// The HIGHT key size in bytes.
	KeySize = 16
)

Variables

This section is empty.

Functions

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