File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -18,22 +18,24 @@ This library delivers the following functions as UDFs and SPs:
18
18
function in library UDF / SP
19
19
20
20
bcrypt bcrypt
21
- sha256 sha256
22
- sha512 sha512
21
+ sha256hex sha256_hex
22
+ sha256 sha256s sha256
23
+ sha512 sha512s sha512
23
24
phpmd5 php_md5
24
25
aprmd5 apr_md5
25
26
aprcrypt apr_crypt
26
27
aprsha1 apr_sha1
27
28
aprsha256 apr_sha256
28
29
validate validate_pw
29
30
30
- The phpmd5 function is compatible to the PHP md5 function.
31
- The aprmd5, aprcrypt, aprsha1, bcrypt functions are compatible to the
32
- functions used in Apache's htpasswd utility.
33
- The aprsha256 routine returns the identifier {SHA256} plus the base64
31
+ The php_md5 routine is compatible to the PHP md5 function.
32
+ The sha256_hex routine returns a sha256 64-character hexadecimal hash.
33
+ The apr_md5, apr_crypt, apr_sha1 and bcrypt routines are compatible to the
34
+ functions used in Apache’s htpasswd utility.
35
+ The apr_sha256 routine returns the identifier {SHA256} plus the base64
34
36
encoded sha256 hash.
35
- The sha256 and sha512 functions return glib2' s crypt hashes (if supported).
36
- The validate function validates a password against a hash.
37
+ The sha256 and sha512 functions return glib2’ s crypt hashes (if supported).
38
+ validate_pw validates a password against a hash.
37
39
38
40
In win32 environments apr_crypt returns the output of bcrypt, if available.
39
41
If bcrypt is not available, the output of apr_md5 is returned.
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ signing key [0xC11F128D](https://sks-keyservers.net/pks/lookup?op=get&search=0xF
21
21
<br >
22
22
[ bcrypt] ( http://tessus.github.io/db2-hash-routines/man/bcrypt.html )
23
23
<br >
24
+ [ sha256_hex] ( http://tessus.github.io/db2-hash-routines/man/sha256_hex.html )
25
+ <br >
24
26
[ sha256] ( http://tessus.github.io/db2-hash-routines/man/sha256.html )
25
27
<br >
26
28
[ sha512] ( http://tessus.github.io/db2-hash-routines/man/sha512.html )
You can’t perform that action at this time.
0 commit comments