From dc41862e53fda9a4ad2c9022e4a4ca8b5498707c Mon Sep 17 00:00:00 2001 From: Yi-Cyuan Chen Date: Tue, 26 Sep 2023 09:35:36 +0800 Subject: [PATCH] add benchmark --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 807987c..95a611b 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,10 @@ A simple SHA-256 / SHA-224 hash function for JavaScript supports UTF-8 encoding. ## Demo -[SHA256 Online](http://emn178.github.io/online-tools/sha256.html) -[SHA224 Online](http://emn178.github.io/online-tools/sha224.html) +[SHA256 Online](https://emn178.github.io/online-tools/sha256.html) +[SHA224 Online](https://emn178.github.io/online-tools/sha224.html) +[SHA256 File Online](https://emn178.github.io/online-tools/sha256_checksum.html) +[SHA225 File Online](https://emn178.github.io/online-tools/sha224_checksum.html) ## Download [Compress](https://raw.github.com/emn178/js-sha256/master/build/sha256.min.js) @@ -100,8 +102,11 @@ sha256.digest(''); // [227, 176, 196, 66, 152, 252, 28, 20, 154, 251, 244, 200, sha256.arrayBuffer(''); // ArrayBuffer ``` +## Benchmark +[jsPerf Benchmark](https://jsperf.app/cidole/2) + ## License -The project is released under the [MIT license](http://www.opensource.org/licenses/MIT). +The project is released under the [MIT license](https://opensource.org/license/mit/). ## Contact The project's website is located at https://github.com/emn178/js-sha256