npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

adyen-encryption

0.1.1 • Public • Published

Adyen Encryption

Compatible for NodeJS and browsers via browserify

Installation

npm install --save adyen-encryption

Usage

First of all, get a public key from Adyen.

Then you can encrypt the card data.

var CARD_DATA = {
    number: '5555444433331111',
    holderName: 'Test user',
    cvc: '737',
    expiryMonth: '06',
    expiryYear: '2016'
};
var adyenEncrypt = require('adyen-encryption');
 
adyenEncrypt.encrypt(KEY, CARD_DATA)
    .then(function(dataEncrypted){
        //card data is secure now!
    });

install

npm i adyen-encryption

Downloadsweekly downloads

1,701

version

0.1.1

license

Unlicense

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability