Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A really simple wrapper around CommonCrypto/CommonDigest.h implemented as an Appcelerator Titanium Module. This will simple wrap MD5 and SHA256 hash methods.
branch: master

added some the ability to search the entire address book and hash the…

… phone numbers and email addresses

this will probably get removed in the future, it is just an easy place
for me to put it right now.
latest commit 15b131d4fd
Shaun Berryman authored

README

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);
Something went wrong with that request. Please try again.