Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 488 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 488 Bytes

GHCrypt

This is a keyless encrypt/decrypt algorithm for plain text.

Usage/Examples

<?php
$text = "follow the white rabbit...";

	$myCrypt = new GHCrypt();
	$encrypt = $myCrypt -> enstring($text);
	$decrypt = $myCrypt -> destring($encrypt);

	echo "Plain-text: ".$text."\n";
	echo "Crypted: ".$encrypt."\n";
	echo "Decrypted: ".$decrypt."\n";

unset($myCrypt);
?>

Demo

The result after two runs:

App Screenshot