idea

package
v0.3.1-rc.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package idea implements the IDEA block cipher

For more information, please see https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm This implementation derived from Public Domain code by Colin Plumb available at https://www.schneier.com/book-applied-source.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCipher

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

from github.com/dgryski/go-idea NewCipher returns a cipher.Block implementing the IDEA block cipher. The key argument should be 16 bytes.

Types

type KeySizeError

type KeySizeError int

KeySizeError is returned for incorrect key sizes

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