tealittle

package
v0.0.0-...-f1c5b25 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package tealittle provides a TEA implementation where bytes are swapped 4 by 4.

Common implementations of TEA is BigEndian based. This implementation wraps the golang.org/crypto/tea implementation to use LittleEndian.

This package is provided to allow interoperability with Little Endian devices which use non-standard TEA.

Index

Constants

View Source
const (
	BlockSize = tea.BlockSize
	KeySize   = tea.KeySize
)

Variables

This section is empty.

Functions

func NewCipher

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

NewCipher creates a new LittleEndian TEA block cipher with 64 rounds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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