Untested implementation of the CryptoInterface.