From 3baf0471c5d3fef230171e6e7c4ee2123da28e83 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Sun, 24 Feb 2019 08:52:36 +0200 Subject: [PATCH] README more algorithm --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c7470d..7ade608 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,12 @@ Description: ============ The Nginx HMAC secure link module enhances the security and functionality of the standard secure link module. -Secure token is created using secure HMAC construction with an arbitrary hash algorithm supported by OpenSSL, e.g., `md5`, `sha1`, `sha256`, `sha512`. Furthermore, secure token is created as described in RFC2104, that is, `H(secret_key XOR opad,H(secret_key XOR ipad, message))` instead of a simple `MD5(secret_key,message, expire)`. +Secure token is created using secure HMAC construction with an arbitrary hash algorithm supported by OpenSSL, e.g.: +`blake2b512`, `blake2s256`, `gost`, `md4`, `md5`, `rmd160`, `sha1`, `sha224`, `sha256`, +`sha3-224`, `sha3-256`, `sha3-384`, `sha3-512`, `sha384`, `sha512`, `sha512-224`, `sha512-256`, `shake128`, `shake256`, `sm3`. + +Furthermore, secure token is created as described in RFC2104, that is, +`H(secret_key XOR opad,H(secret_key XOR ipad, message))` instead of a simple `MD5(secret_key,message, expire)`. Installation: =============