Skip to content

Commit

Permalink
Commiting files for v1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Caligatio committed Dec 15, 2013
1 parent bb2f624 commit c65d3e2
Show file tree
Hide file tree
Showing 8 changed files with 146 additions and 72 deletions.
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build
test
src/sha_dev.js
src/sha1.js
src/sha256.js
src/sha512.js
6 changes: 4 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
jsSHA - ChangeLog
-------------------------

1.5 (2013-XX-XX)
1.5 (2013-12-15)
=========================
- Added optional numRounds argument to getHash
- Note: this necessitated removing the hash result caching functionality
- Reduced file size by optimizing internal constants
- Removed charSize input and replaced with encoding to handle Unicode. NOTE:
Only Code points up to 0xFFFF are supported.
- charSize = 16 is effectively replaced by encoding = "UTF16"
- charSize = 8 was wrong in terms of handling UTF-8 and has been replaced by
encoding = "UTF8"
- Changed method of referencing "window" to be compatible with WebWorkers (thanks piranna!)
- Changed method of referencing "window" to be compatible with WebWorkers,
Node.js, and AMD (thanks piranna!)

1.42 (2012-12-28)
=========================
Expand Down
35 changes: 35 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name" : "jsSHA",
"version" : "1.5.0",
"description" : "jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in FIPS 180-2 (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512) as well as HMAC",
"main" : "src/sha.js",
"repository" : {
"type" : "git",
"url" : "https://github.com/Caligatio/jsSHA.git"
},
"keywords" : [
"SHA-1",
"SHA-256",
"SHA-224",
"SHA-384",
"SHA-512",
"SHA1",
"SHA256",
"SHA224",
"SHA384",
"SHA512",
"SHA2",
"HMAC",
"hash"
],
"license" : "BSD",
"authors" : [
"Brian Turek <brian.turek@gmail.com>"
],
"homepage" : "http://caligatio.github.com/jsSHA/",
"ignore": [
"build",
"test",
"src/sha_dev.js"
]
}
33 changes: 33 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name" : "jsSHA",
"version" : "1.5.0",
"description" : "jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in FIPS 180-2 (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512) as well as HMAC",
"main" : "src/sha.js",
"repository" : {
"type" : "git",
"url" : "https://github.com/Caligatio/jsSHA.git"
},
"keywords" : [
"SHA-1",
"SHA-256",
"SHA-224",
"SHA-384",
"SHA-512",
"SHA1",
"SHA256",
"SHA224",
"SHA384",
"SHA512",
"SHA2",
"HMAC",
"hash"
],
"license" : "BSD",
"author" : "Brian Turek <brian.turek@gmail.com>",
"bugs" : {
"url": "https://github.com/Caligatio/jsSHA/issues"
},
"engines" : {
"node" : "*"
}
}
50 changes: 24 additions & 26 deletions src/sha.js

Large diffs are not rendered by default.

23 changes: 11 additions & 12 deletions src/sha1.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c65d3e2

Please sign in to comment.