Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame^] | 1 | md5() |
| 2 | ===== |
| 3 | |
| 4 | DEPRECATED |
| 5 | ---------- |
| 6 | :: |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | :: |
| 11 | |
| 12 | string md5 (string arg [ , int iterations ] ) |
| 13 | string md5 (int * arg [ , int iterations ] ) |
| 14 | |
| 15 | BESCHREIBUNG |
| 16 | ------------ |
| 17 | :: |
| 18 | |
| 19 | Berechnet den MD5-Hashwert von <arg>. |
| 20 | Das Argument kann ein String, oder ein Array von Zahlen sein (von |
| 21 | welchen nur das unterste Byte betrachted wird). |
| 22 | |
| 23 | Das Ergebnis wird als 32-stelliger Hexadezimalwert geliefert. |
| 24 | |
| 25 | Ist das <iterations> Argument eine Zahl groesser 0, berechnet der |
| 26 | Driver den Digest mit diese Anzahl an Wiederholungen. Fehlt die |
| 27 | Angabe, fuehrt der Driver die Digest-Berechnung einmal aus. |
| 28 | |
| 29 | BEISPIEL |
| 30 | -------- |
| 31 | :: |
| 32 | |
| 33 | string s; |
| 34 | |
| 35 | s = md5("Hallo"); |
| 36 | s = md5( ({ 'H', 'e', 'l', 'l', 'o' }) ) |
| 37 | s = md5( ({ 'H', 'e', 'l', 'l', 'o' }), 2 ) |
| 38 | |
| 39 | AENDERUNGEN |
| 40 | ----------- |
| 41 | :: |
| 42 | |
| 43 | Eingefuehrt in LDMud 3.2.9 |
| 44 | LDMud 3.2.12 fuehrte Zaehlenarrays als Argument ein, also auch |
| 45 | die Anzahl der Wiederholungen. |
| 46 | |
| 47 | SIEHE AUCH |
| 48 | ---------- |
| 49 | :: |
| 50 | |
| 51 | crypt(E), md5_crypt(E), sha1(E), hash(E), hmac(E) |
| 52 | |