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