Valinwolf / cross-aes

The Cross-Language AES-256 Encryption/Decryption Library (VB, C#, PHP)
0 stars 0 forks source link

CrossAES

The Cross-Language AES-256 Encryption/Decryption Library

CrossAES took me over 12 hours of digging to unearth a way to make the .NET's world play nice with mcrypt. Since it took me so long, I decided to bring it to light. I hope this helps someone.

Current Capabilities

Languages
Features

Planned

Languages
Features

Usage

VB

First, include crossaes.vb to your project. For an example on how to use CrossAES in VB, check the VB Fiddle.

C

First, include crossaes.cs to your project. For an example on how to use CrossAES in C#, check the C# Fiddle.

PHP

First, include crossaes.php to your project or paste the contents in your PHP script. For an example on how to use CrossAES in PHP, check the Codepad. Note: Codepad does not have the mcrypt extension, so it displays an error, but it is perfectly valid code tested on my own machine.