mcrypt

package module
Version: v0.0.0-...-45c6031 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: GPL-2.0 Imports: 3 Imported by: 0

README

tblyler/go-mcrypt

This is a work in progress and currently just implements an encrypt and decrypt function that is compliant with PHP's rijndael AES 256 specification. As one might guess, this was to replace existing PHP code that relied on rijndael AES 256.

Requirements

  • libmcrypt

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key []byte, iv []byte, data []byte) ([]byte, error)

Decrypt decrypt something with mcrypt rijndael-256 PHP-style

func Encrypt

func Encrypt(key []byte, iv []byte, data []byte) ([]byte, error)

Encrypt encrypt something with mcrypt rijndael-256 PHP-style

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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