salsabc

package
v0.0.0-...-7b7a036 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This package is the reference implementation of the SalsaBC block cipher. SalsaBC is a balanced 4 round feistel cipher using Salsa20/8 core as its Feistel function. It has an 1024 bit block size and an 2048 bit key size.

Index

Constants

This section is empty.

Variables

View Source
var ErrWrongKeySize = errors.New("goencrypt/salsabc: Keysize != 256")

Functions

func NewBlock

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

Returns a new block cipher withe the block size of 128 bytes (1024 bit). The key must be 256 bytes long (2048 bit).

Types

This section is empty.

Jump to

Keyboard shortcuts

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