camellia

package module
v0.0.0-...-02c306d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2016 License: MIT Imports: 2 Imported by: 2

README

Godoc Reference

The Camellia block cipher

Camellia is a symmetric key block cipher with a block size of 128 bits and key sizes of 128, 192 and 256 bits. It was jointly developed by Mitsubishi Electric and NTT of Japan. Camellia is standardized in RFC 3713

Installation

Install in your GOPATH: go get -u github.com/aead/camellia

Documentation

Overview

Package camellia implements the camellia block cipher. The cipher has block size of 128 bit (16 byte) and accepts 128, 192 or 256 bit keys (16, 24, 32 byte). Camellia was jointly developed by Mitsubishi Electric and NTT of Japan. Camellia was added to many crypto protocols (e.g. TLS). and is standardized in RFC 3713.

Index

Constants

View Source
const BlockSize = 16

BlockSize is the block size of the camellia block cipher in bytes.

Variables

This section is empty.

Functions

func NewCipher

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

NewCipher returns a new cipher.Block implementing the camellia cipher. The key argument must be 128, 192 or 256 bit (16, 24, 32 byte).

Types

This section is empty.

Jump to

Keyboard shortcuts

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