serpent

package module
v0.0.0-...-fba1697 Latest Latest
Warning

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

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

README

Godoc Reference

The Serpent block cipher

Serpent is a symmetric key block cipher that was a finalist in the Advanced Encryption Standard (AES) contest, where it was ranked second to Rijndael. Serpent was designed by Ross Anderson, Eli Biham, and Lars Knudsen.

Installation

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

Documentation

Overview

Package serpent implements the Serpent block cipher submitted to the AES challenge. Serpent was designed by Ross Anderson, Eli Biham und Lars Knudsen. The block cipher takes a 128, 192 or 256 bit key and has a block size of 128 bit.

Index

Constants

View Source
const BlockSize = 16

BlockSize is the serpent block size 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 serpent block 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