José,
I have not used these functions personally but I see in the readme that
multiple steps are required for sha-256.
So, to get the sha-256 digest of a string:
put sha256.hex("the cat sat on the mat") into tDigest
put sha256.b64(someVariable) into tDigest
and of a file
put sha256.bin("/Users/yourusername/Desktop/somefile.txt", true) into
tDigest
Hope this helps.
Mike
On 12/15/14 2:42 PM, José Antonio Rocha wrote:
Hi!
There is this, but I could not make it work:
http://masmit.net/libhash-hmac.html
2014-12-15 17:25 GMT-02:00 Richard Gaskin <[email protected]>:
LiveCode currently provides only two hashes, MD5 and SHA1. I have a
project in which I need SHA256. Anyone here have a function for that?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
[email protected] http://www.FourthWorld.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode