thysmichels.com
Apex generate a hash value for encrypting and decrypting emails
Visit the post for more.