Encrypt and decrypt data - AWS Payment Cryptography

Encrypt and decrypt data

Encryption and Decryption methods can be used to encrypt or decrypt data using a variety of symmetric and asymmetric techniques including TDES, AES and RSA. These methods also support keys derived using DUKPT.

When using the encrypt/decrypt functions, all inputs are assumed to be in hexBinary - for instance 1 will be input as 31 and a lower case t is represented as 74 if using ascii/utf-8. All outputs are in hexBinary as well.