Skip to content

Commit 8a157de

Browse files
committed
update README files to include sha256_hex
[ci skip]
1 parent 669cb3b commit 8a157de

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

README

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,24 @@ This library delivers the following functions as UDFs and SPs:
1818
function in library UDF / SP
1919

2020
bcrypt bcrypt
21-
sha256 sha256
22-
sha512 sha512
21+
sha256hex sha256_hex
22+
sha256 sha256s sha256
23+
sha512 sha512s sha512
2324
phpmd5 php_md5
2425
aprmd5 apr_md5
2526
aprcrypt apr_crypt
2627
aprsha1 apr_sha1
2728
aprsha256 apr_sha256
2829
validate validate_pw
2930

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
3436
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 glib2s crypt hashes (if supported).
38+
validate_pw validates a password against a hash.
3739

3840
In win32 environments apr_crypt returns the output of bcrypt, if available.
3941
If bcrypt is not available, the output of apr_md5 is returned.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ signing key [0xC11F128D](https://sks-keyservers.net/pks/lookup?op=get&search=0xF
2121
<br>
2222
[bcrypt](http://tessus.github.io/db2-hash-routines/man/bcrypt.html)
2323
<br>
24+
[sha256_hex](http://tessus.github.io/db2-hash-routines/man/sha256_hex.html)
25+
<br>
2426
[sha256](http://tessus.github.io/db2-hash-routines/man/sha256.html)
2527
<br>
2628
[sha512](http://tessus.github.io/db2-hash-routines/man/sha512.html)

0 commit comments

Comments
 (0)