Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

aol/obi_android_tokenization_library

Repository files navigation

ARCHIVED

Add CardEncryptionLib.jar file into libs folder of your Android project. Right click --> Add as Library

Use the following code to encrypt and tokenize a credit card number and cvv.

String encryptedCardToken = EncryptCard.encryptCard(cardNumber, cardCvv, domain);

Parameter domain shows the environment of the library usage and can be "DEV" or "PROD" or "QA". Any other value of domain will be considered as "QA".