Difference between revisions of "LlSHA1String"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|mode=pre-release | |||
|func_id=343|func_sleep=0.0|func_energy=10.0 | |func_id=343|func_sleep=0.0|func_energy=10.0 | ||
|func=llSHA1String|return_type=string|p1_type=string|p1_name=src | |func=llSHA1String|return_type=string|p1_type=string|p1_name=src | ||
Line 20: | Line 21: | ||
|helpers | |helpers | ||
|also_functions= | |also_functions= | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llMD5String]]}} | ||
|also_tests | |also_tests | ||
|also_events | |also_events |
Revision as of 13:08, 10 October 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Pre-release Documentation Warning! | |
This function is not available yet. This documentation was written prior to its final release so it may not match the final implementation. |
Summary
Function: string llSHA1String( string src );343 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string of 40 hex characters that is the SHA1 security hash of src.
• string | src |
Specification
LSL strings are stored in the UTF-8 format.
Caveats
Examples
<lsl> llSay(0, llSHA1String("Hello, Avatar!")); // returns *fixme* </lsl>
Linux Example
$ echo -n 'Hello, Avatar!' | openssl sha1 *fixme*
See Also
Functions
• | llMD5String |