Skip to content

Instantly share code, notes, and snippets.

View jolovin-mmi's full-sized avatar

Jared Lovin jolovin-mmi

View GitHub Profile
@jolovin-mmi
jolovin-mmi / AES-256 encryption and decryption in PHP and C#.md
Created May 30, 2018 12:44
AES-256 encryption and decryption in PHP and C#

AES-256 encryption and decryption in PHP and C#

Update: There is a more secure version available. Details

PHP

<?php

$plaintext = 'My secret message 1234';