Skip to content

HazemKhaled/TiCryptoJS

Repository files navigation

TiCryptoJS

How to use CryptoJS into Appcelerator Titanium project.

Steps:

  1. Add all reqired JavaScript files into .js file (ex: crypto.js)
  2. Move this file to app/lib/crypto.js
  3. Add exports.CryptoJS = CryptoJS; at the end of file exaple.js

Example:

Use TripleDES with Cipher mode is ECB with Paddind AnsiX923, you need to copy code from each file in this sort

http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/tripledes.js
http://crypto-js.googlecode.com/svn/tags/3.1.2/build/components/mode-ecb-min.js
http://crypto-js.googlecode.com/svn/tags/3.1.2/build/components/pad-ansix923-min.js

then add at the end of this file exports.CryptoJS = CryptoJS;

Ref:

About

CryptoJS with Appcelerator Titanium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published