LlMD5String/fr: Difference between revisions
Jump to navigation
Jump to search
Gally Young (talk | contribs) Localized to french |
mNo edit summary |
||
| Line 11: | Line 11: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=< | |examples=<lsl> | ||
llSay(0, llMD5String("Hello, Avatar!", 0)); // renvoie 112abd47ceaae1c05a826828650434a6 | llSay(0, llMD5String("Hello, Avatar!", 0)); // renvoie 112abd47ceaae1c05a826828650434a6 | ||
</ | </lsl> | ||
====Linux Example==== | ====Linux Example==== | ||
Latest revision as of 20:15, 4 August 2009
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: string llMD5String( string src, integer nonce );| 258 | N° de fonction |
| 0.0 | Delais |
| 10.0 | Energie |
Renvoie un string de 32 caractères hexadécimaux en
MD5 de src avec comme
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.