simple encryption for authentication keys