A simple encryption and hash generator.