1.0.2 • Published 5 years ago

nativescript-cryptography v1.0.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

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