react-native-pagarme-card-hash
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

react-native-pagarme-card-hash

React Native module for generating pagar.me card hashes

npm

Support

Works on iOS 10+ and Android 4.1+

Installation

yarn add react-native-rsa-native react-native-pagarme-card-hash

Usage

import generateCardHash from 'react-native-pagarme-card-hash';

// ...

const hash = await generateCardHash(
    {
        number: '5315084062046316',
        holderName: 'John Doe',
        expirationDate: '0921',
        cvv: '560',
    },
    '<your encryption key>'
);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-pagarme-card-hash

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

14.7 kB

Total Files

9

Last publish

Collaborators

  • fjorg