Difference between revisions of "LlMD5String/fr"

From Second Life Wiki
Jump to navigation Jump to search
(Localized to french)
 
m
 
Line 11: Line 11:
|caveats
|caveats
|constants
|constants
|examples=<pre>
|examples=<lsl>
llSay(0, llMD5String("Hello, Avatar!", 0)); // renvoie 112abd47ceaae1c05a826828650434a6
llSay(0, llMD5String("Hello, Avatar!", 0)); // renvoie 112abd47ceaae1c05a826828650434a6
</pre>
</lsl>


====Linux Example====
====Linux Example====

Latest revision as of 20:15, 4 August 2009

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.