Difference between revisions of "LlSHA1String"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL_Function |func_id=343|func_sleep=0.0|func_energy=10.0 |func=llSHA1String|return_type=string|p1_type=string|p1_name=src |func_footnote |func_desc |return_text=of 40 hex characters tha...)
 
m
Line 19: Line 19:
</pre>
</pre>
|helpers
|helpers
|also_functions
|also_functions=
{{LSL DefineRow||[[llSHA1String]]}}
|also_tests
|also_tests
|also_events
|also_events

Revision as of 13:08, 10 October 2008

Summary

Function: string llSHA1String( string src );

Returns a string of 40 hex characters that is the "Wikipedia logo"SHA1 security hash of src.

• string src

Specification

LSL strings are stored in the UTF-8 format.

Examples

<lsl> llSay(0, llSHA1String("Hello, Avatar!")); // returns *fixme* </lsl>

Linux Example

$ echo -n 'Hello, Avatar!' | openssl sha1
*fixme*

See Also

Functions

•  llSHA1String

Deep Notes

Search JIRA for related Issues

Signature

function string llSHA1String( string src );