Skip to content

Commit dec43b4

Browse files
committed
add license
1 parent eabadfd commit dec43b4

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

LICENSE.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2013 [email protected]
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ And then you could use like this:
9292
'message'.sha256();
9393
'message'.sha224();
9494
```
95+
## License
96+
The project is released under the [MIT license](LICENSE.txt).
97+
9598
## Contact
9699
The project's website is located at https://github.com/emn178/js-sha256
97100

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"cryptography",
2121
"HMAC"
2222
],
23+
"license": "MIT",
2324
"author": "emn178 <[email protected]>",
2425
"homepage": "https://github.com/emn178/js-sha256",
2526
"bugs": {

src/sha256.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* js-sha256 v0.1.0
3+
* https://github.com/emn178/js-sha256
4+
*
5+
* Copyright 2014, [email protected]
6+
*
7+
* Licensed under the MIT license:
8+
* http://www.opensource.org/licenses/MIT
9+
*/
10+
111
(function(root, undefined){
212
'use strict';
313

0 commit comments

Comments
 (0)