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: 83 modules, 75 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址