Difference between revisions of "LlGenerateKey"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func=llGenerateKey
|func=llGenerateKey
|func_desc=Generates a key using {{Wikipedia|UUID|Type 5}} ([[SHA-1]]) [[UUID]] generation to create a unique key.
|func_desc=Generates a key using [http://en.wikipedia.org/wiki/UUID#Version_5_.28SHA-1_hash.29 Version 5 (SHA-1 hash)] [[UUID]] generation to create a unique key.
|return_type=key
|return_type=key
|Return_text=generated.
|Return_text=generated.
|caveats=
*The specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be Version 5.
|mode
|mode
|examples
|examples
Line 9: Line 11:
|cat2
|cat2
|history=*Inspired by the library function [[generateKey]].
|history=*Inspired by the library function [[generateKey]].
*Changed from using [http://en.wikipedia.org/wiki/UUID#Version_3_.28MD5_hash.29 Version 3 (MD5 hash)] to [http://en.wikipedia.org/wiki/UUID#Version_5_.28SHA-1_hash.29 Version 5 (SHA-1 hash)].
}}{{LSLC{{#var:lang}}|Encryption|llGenerateKey}}
}}{{LSLC{{#var:lang}}|Encryption|llGenerateKey}}

Revision as of 21:10, 25 July 2012