idea

package
v0.0.0-...-fcde374 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 8
View Source
const KeySize = 16

Variables

This section is empty.

Functions

This section is empty.

Types

type IdeaCipher

type IdeaCipher struct {
	TestMode bool
	// contains filtered or unexported fields
}

func NewCipher

func NewCipher(key []byte) IdeaCipher

func (IdeaCipher) BlockSize

func (IdeaCipher) BlockSize() int

func (IdeaCipher) Decrypt

func (t IdeaCipher) Decrypt(dst, src []byte)

func (IdeaCipher) Encrypt

func (t IdeaCipher) Encrypt(dst, src []byte)

func (IdeaCipher) GetSubKeys

func (t IdeaCipher) GetSubKeys() ([]uint16, []uint16)

Jump to

Keyboard shortcuts

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