open-index/open-npm huggingface dataset:
npm package: @saipos/saipos-number-cipher
Description: Simple lib to crypt/decrypt numbers.
Latest version: 1.0.0

# SaiposNumberCipher

JS lib to encrypt / decrypt numbers based on a provided dictionary


## Encrypt number

```js

const cipher = new saiposNumberCipher('abcdefghij')
cipher.encrypt(10)// returns ba

```

## Decrypt encrypted number

```js

const cipher = new saiposNumberCipher('abcdefghij')
cipher.decrypt('ba')// returns 10

```