A small utility class to help with cryptography