npm i --save nativescript-cryptography
- Version: 1.0.2
- GitHub: https://github.com/karo-dc/nativescript-cryptography
- NPM: https://www.npmjs.com/package/nativescript-cryptography
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Nativescript Cryptography
A simple plugin for asymmetric keys operations.
Installation
tns plugin add nativescript-cryptography
Usage
import { Cryptography } from "nativescript-cryptography";
param1: random tag string param2: size of key param3: save in secure storage (optional)
const keyPair = cryptography.generateRsaPrivateKey(RsaPrivateKeyTag, RsaKeySize, true);
License
MIT