LlSHA1String
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: string llSHA1String( string src );| 343 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns a string of 40 hex characters that is the SHA1 security hash of src.
| • string | src |
Examples
llSay(0, llSHA1String("Hello, Avatar!")); // returns 2E73318E547AF1B28CC0C96F95DDC9B1EE906B8D
Linux Example
$ echo -n 'Hello, Avatar!' | openssl sha1 2E73318E547AF1B28CC0C96F95DDC9B1EE906B8D
Deep Notes
Prior to this, the only way to get the SHA1 hash was to use the LSL SHA1 port: SHA1
History
- SVN:1291 r98903 Trunk c:1.21.5.97417 s:1.24.9.98650 Initial introduction.
- SVN:1298 r99021 Branch:OpenAL c:1.21.5.97417 s:1.24.9.98650 Integration into OpenAL branch.
Issues
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

