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