-
-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathAlgorithm.php
69 lines (66 loc) · 1.91 KB
/
Algorithm.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
declare(strict_types=1);
namespace Psl\Hash;
enum Algorithm: string
{
case Md2 = 'md2';
case Md4 = 'md4';
case Md5 = 'md5';
case Sha1 = 'sha1';
case Sha224 = 'sha224';
case Sha256 = 'sha256';
case Sha384 = 'sha384';
case Sha512224 = 'sha512/224';
case Sha512256 = 'sha512/256';
case Sha512 = 'sha512';
case Sha3224 = 'sha3-224';
case Sha3256 = 'sha3-256';
case Sha3384 = 'sha3-384';
case Sha3512 = 'sha3-512';
case Ripemd128 = 'ripemd128';
case Ripemd160 = 'ripemd160';
case Ripemd256 = 'ripemd256';
case Ripemd320 = 'ripemd320';
case Whirlpool = 'whirlpool';
case Tiger1283 = 'tiger128,3';
case Tiger1603 = 'tiger160,3';
case Tiger1923 = 'tiger192,3';
case Tiger1284 = 'tiger128,4';
case Tiger1604 = 'tiger160,4';
case Tiger1924 = 'tiger192,4';
case Snefru = 'snefru';
case Snefru256 = 'snefru256';
case Gost = 'gost';
case GostCrypto = 'gost-crypto';
case Adler32 = 'adler32';
case Crc32 = 'crc32';
case Crc32B = 'crc32b';
case Crc32C = 'crc32c';
case Fnv132 = 'fnv132';
case Fnv1A32 = 'fnv1a32';
case Fnv164 = 'fnv164';
case Fnv1A64 = 'fnv1a64';
case Joaat = 'joaat';
case Murmur3A = 'murmur3a';
case Murmur3C = 'murmur3c';
case Murmur3F = 'murmur3f';
case Xxh32 = 'xxh32';
case Xxh64 = 'xxh64';
case Xxh3 = 'xxh3';
case Xxh128 = 'xxh128';
case Haval1283 = 'haval128,3';
case Haval1603 = 'haval160,3';
case Haval1923 = 'haval192,3';
case Haval2243 = 'haval224,3';
case Haval2563 = 'haval256,3';
case Haval1284 = 'haval128,4';
case Haval1604 = 'haval160,4';
case Haval1924 = 'haval192,4';
case Haval2244 = 'haval224,4';
case Haval2564 = 'haval256,4';
case Haval1285 = 'haval128,5';
case Haval1605 = 'haval160,5';
case Haval1925 = 'haval192,5';
case Haval2245 = 'haval224,5';
case Haval2565 = 'haval256,5';
}