To use this class, include the shaCrypt.php file. For encryption $cryptString=shaCrypt::encode([string],[pass],[boolean:return as base64 encoded]); For decryption $string=shaCrypt::encode([CryptString],[pass],[boolean:first base64 decode]);
info at phpclasses dot org