rijndael256

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

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

Go to latest
Published: Mar 16, 2020 License: MIT Imports: 2 Imported by: 1

README

rijndael256

This project it's a adapted version: https://github.com/agl/pond/blob/master/panda/rijndael/rijndael.go

The original file was changed to implement the Go standard Chipher Block interface: https://golang.org/pkg/crypto/cipher/#Block

You can use Rijndael256 for 256 bits key size.

Feel free to make improvements! :D

Documentation

Index

Constants

View Source
const BlockSize = 32

Variables

This section is empty.

Functions

func NewCipher

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

Types

type Cipher

type Cipher struct {
	// contains filtered or unexported fields
}

func (*Cipher) BlockSize

func (c *Cipher) BlockSize() int

func (*Cipher) Decrypt

func (c *Cipher) Decrypt(dst, src []byte)

func (*Cipher) Encrypt

func (c *Cipher) Encrypt(dst, src []byte)

Jump to

Keyboard shortcuts

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