OsSHA256

From OpenSimulator

Revision as of 06:48, 29 December 2020 by Djphil (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
string osSHA256(string input)
Generate a hash value (string input). Returns a string containing the calculated string input as lowercase.
Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Example(s)
//
// osSHA256 Script Exemple
// Author: djphil
//
 
default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see osSHA256 usage.");
    }
 
    touch_start(integer number)
    {
        string input = "OpenSimulator";
        llSay(PUBLIC_CHANNEL, "The sha256 value of input \"" + input + "\" is:\n" + osSHA256(input));
    }
}
Notes
This function was added in 0.9.2-Dev


Personal tools
General
About This Wiki