blob: 241cc3bd4fc1cb3424d4f59a559fcb0bd035c0a2 [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001sha1()
2======
3
4DEPRECATED
5----------
6::
7
8SYNOPSIS
9--------
10::
11
12 string sha1 (string arg)
13 string sha1 (int * arg)
14
15BESCHREIBUNG
16------------
17::
18
19 Berechnet den SHA1-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
23BEISPIEL
24--------
25::
26
27 string s;
28
29 s = sha1("Hello");
30 s = sha1( ({ 'H', 'e', 'l', 'l', 'o' })
31
32HISTORY
33-------
34::
35
36 Eingefuehrt in LDMud 3.3.523.
37 LDMud 3.3.712 fuehrte Zaehlenarrays als Argument ein.
38
39SIEHE AUCH
40----------
41::
42
43 crypt(E), md5(E)
44