- incorrect result when first bit is 1 of bytes.

Changed
- throw error by Error oject. #13

Added
- TypeScript interfaces. #12
This commit is contained in:
Yi-Cyuan Chen
2017-12-18 20:03:12 +08:00
parent e35c679c2b
commit 189bb9b037
6 changed files with 101 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "js-sha256",
"version": "0.8.0",
"version": "0.9.0",
"description": "A simple SHA-256 / SHA-224 hash function for JavaScript supports UTF-8 encoding.",
"main": "src/sha256.js",
"devDependencies": {