-
Notifications
You must be signed in to change notification settings - Fork 2
A really simple wrapper around CommonCrypto/CommonDigest.h implemented as an Appcelerator Titanium Module. This will simple wrap MD5 and SHA256 hash methods.
License
sberryman/nativehash
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Appcelerator Titanium Native Hash Module
===========================================
A really simple wrapper around CommonCrypto/CommonDigest.h implemented as an Appcelerator Titanium Module. This will simple wrap MD5 and SHA256 hash methods.
Speed
-------------------------------------------
Using native sha256 hashing is about 9.71 times faster than a javascript implementation.
Usage
-------------------------------------------
var nativehash = require('com.shaunberryman.nativehash');
var result = nativehash.sha256('this is a test!');
Ti.API.info('Input: this is a test! - Sha256: ' + result);About
A really simple wrapper around CommonCrypto/CommonDigest.h implemented as an Appcelerator Titanium Module. This will simple wrap MD5 and SHA256 hash methods.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published