MintCryptoWrapper: Extending encodeAndEncrypt to support the cryptoScheme