Cryptography
Find hashing, message authentication, and signature operations.
Feature: Data Transmission
What do you want to do?
string llComputeHash(string message, string algorithm)Returns a hex-encoded hash digest string of message using the specified cryptographic algorithm.string llHMAC(string private_key, string msg, string algorithm)Returns a Base64-encoded HMAC hash of msg using the secret key private_key and the specified digest algorithm (md5, sha1, sha224, sha256, sha384, or sha512).integer llVerifyRSA(string public_key, string msg, string signature, string algorithm)Returns TRUE if the Base64-formatted signature is verified as valid for the message msg when using the digest algorithm and public_key. Returns FALSE otherwise.Reference
8 topic entries
string llComputeHash(string message, string algorithm)functionReturns a hex-encoded hash digest string of message using the specified cryptographic algorithm.
string llHMAC(string private_key, string msg, string algorithm)functionReturns a Base64-encoded HMAC hash of msg using the secret key private_key and the specified digest algorithm (md5, sha1, sha224, sha256, sha384, or sha512).
integer llHash(string val)functionReturns an integer representing the 32-bit hash value of the string val (returns 0 if the string is empty).
string llMD5String(string src, integer nonce)functionReturns a string of 32 hex characters representing the MD5 checksum of src salted with nonce (formatted as ':' + nonce).
string llSHA1String(string src)functionReturns a string of 40 hex characters representing the SHA-1 security hash of src.
string llSHA256String(string src)functionReturns a string of 64 hex characters representing the SHA-256 security hash of src.
string llSignRSA(string private_key, string msg, string algorithm)functionReturns the Base64-encoded RSA signature of msg using the PEM-formatted private_key and the specified digest algorithm (sha1, sha224, sha256, sha384, or sha512). Can be paired with
llVerifyRSAto pass verifiable messages.integer llVerifyRSA(string public_key, string msg, string signature, string algorithm)functionReturns
TRUEif the Base64-formatted signature is verified as valid for the message msg when using the digest algorithm and public_key. ReturnsFALSEotherwise.
No matching entries. Try a different term or filter.