# adyen-encryption

> Adyen encryption for node or browsers. Without forms.

Latest version **0.1.1** (published 2016-04-21) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install adyen-encryption
pnpm add adyen-encryption
yarn add adyen-encryption
bun add adyen-encryption
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-04-21 |
| First published | 2016-04-21 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jarpi |
| Keywords | adyen, node, browser, encryption |

## Links

- npm: https://www.npmjs.com/package/adyen-encryption
- Repository: https://github.com/corbel-platform/adyen-encryption
- Homepage: https://github.com/corbel-platform/adyen-encryption#readme
- Issues: https://github.com/corbel-platform/adyen-encryption/issues
- npm.io page: https://npm.io/package/adyen-encryption

## Dependencies (1)

- [sjcl](https://npm.io/package/sjcl.md) ^1.0.3

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2016-04-21
- 0.1.0 — 2016-04-21

## README

# 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.

```javascript
var CARD_DATA = {
    number: '5555444433331111',
    holderName: 'Test user',
    cvc: '737',
    expiryMonth: '06',
    expiryYear: '2016'
};
```

```javascript
var adyenEncrypt = require('adyen-encryption');

adyenEncrypt.encrypt(KEY, CARD_DATA)
	.then(function(dataEncrypted){
		//card data is secure now!
	});
```

---
_Source: https://npm.io/package/adyen-encryption · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
