camellia

package module
v0.0.0-...-69a8a13 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 4 Imported by: 64

Documentation

Overview

Package camellia is an implementation of the CAMELLIA encryption algorithm

This is an unoptimized version based on the description in RFC 3713.

References:
http://en.wikipedia.org/wiki/Camellia_%28cipher%29
https://info.isl.ntt.co.jp/crypt/eng/camellia/

Index

Constants

View Source
const BlockSize = 16

Variables

This section is empty.

Functions

func New

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

New creates and returns a new cipher.Block. The key argument should be 16, 24, or 32 bytes.

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