sha1.bin
(since )
Hash a string using sha1 algorithm as binary
Description
string
sha1.bin
(
string string, [string secret] )
Used to encore a string using sha1 algorithm, you can specify the secret key has second argument.
The result is returned has raw binary.
Parameters
string
The string to hash
secret
The secret key to use
Return values
The sha1 digest string in raw binary format
Examples
var result = Ape.sha1.bin("hello world");
User notes
# No comment
Post a note
CollaborAPE to our wiki !
Find the information you need on the APE Official Wiki : Install, Server, JSF, Help...
