Skip to content
Nativescript plugin for native SHA generation
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
demo
publish
src
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
tslint.json

README.md

Nativescript-SHA apple android

npm npm Build Status

This plugin gives access to native SHA generation code on iOS and Android.

Currently only SHA-256 is supported but more will be added.

(Optional) Prerequisites / Requirements

None.

Installation

To install, simply run:

tns plugin add nativescript-sha

Usage

import { Sha256 } from 'nativescript-sha';

console.log(`Data is ${Sha256("this is our test data")}`);

License

Apache License Version 2.0, January 2004

You can’t perform that action at this time.