blob: 6401ffd5c9c489ac8d34fbb82803e4be58452c08 (
plain)
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
|
<html>
<head>
<title>Dev Tools</title>
</head>
<body>
<h1>Supported Crypt/Encrypt Methods</h1>
<table width="100%">
<tr>
<td width="50%" valign="top">
<h2>CIPHER Methods</h2>
<pre>
<?php
$ciphers = openssl_get_cipher_methods();
$ciphers_and_aliases = openssl_get_cipher_methods(true);
$cipher_aliases = array_diff($ciphers_and_aliases, $ciphers);
print_r($ciphers);
print_r($cipher_aliases);
?>
</pre>
</td>
<td width="50%" valign="top">
<h2>DIGER Methods</h2>
<pre>
<?php
$digests = openssl_get_md_methods();
$digests_and_aliases = openssl_get_md_methods(true);
$digests_aliases = array_diff($digests_and_aliases, $digests);
print_r($digests);
print_r($digests_aliases);
?>
</pre>
<h2>HASH Algorythms</h2>
<pre>
<?php print_r( hash_algos() ); ?>
</pre>
<h2>Random</h2>
<pre>
random_bytes()
32Bytes: <?=bin2hex(random_bytes(32))?>
</pre>
</td>
</tr>
</table>
</body>
</html>
|