LlMD5String/fr

From Second Life Wiki
Jump to navigation Jump to search

Description

Fonction: string llMD5String( string src, integer nonce );

Renvoie un string de 32 caractères hexadécimaux en "Wikipedia logo"MD5 de src avec comme "Wikipedia logo"clé de cryptage ":"+nonce.

• string src
• integer nonce

Spécifications

nonce est converti puis annexé à src aprés deux points (src + ":" + (string)nonce).
This is important to know if you are calculating a hash in another language and wish to compare with one calculated in LSL.

Les strings sont stockés au format UTF-8.

Exemples

<lsl> llSay(0, llMD5String("Hello, Avatar!", 0)); // renvoie 112abd47ceaae1c05a826828650434a6 </lsl>

Linux Example

$ echo -n 'Hello, Avatar!:0' | openssl md5
112abd47ceaae1c05a826828650434a6
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.