Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

SHA1 hashing

Hello,

I'm trying to hash my data before sending it to the server. MD5 is not secure enough. I'm trying to use SHA1 , but all i found is this:

http://developer.appcelerator.com/apidoc/desktop/latest/Titanium.Codec.SHA1-property

How do I use it?

— asked October 29th 2010 by Stanislav Palatnik
  • hash
  • sha1
0 Comments

1 Answer

  • Should be: var sha1 = Ti.Utils.sha1("abc");

    — answered October 30th 2010 by Richard Baughman
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.