Skip to content

Instantly share code, notes, and snippets.

View tonzsm's full-sized avatar

T0NZ tonzsm

  • Thailand
View GitHub Profile

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';