Skip to content

Commit 8d6c346

Browse files
committed
Use https for the demo.
1 parent dc11908 commit 8d6c346

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# JavaScript MD5
22

33
## Demo
4-
[JavaScript MD5 Demo](http://blueimp.github.io/JavaScript-MD5/)
4+
[JavaScript MD5 Demo](https://blueimp.github.io/JavaScript-MD5/)
55

66
## Description
77
JavaScript MD5 implementation. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.
88

99
## Usage
1010

1111
### Client-side
12-
Include the (minified) JavaScript [MD5](http://en.wikipedia.org/wiki/MD5) script in your HTML markup:
12+
Include the (minified) JavaScript [MD5](https://en.wikipedia.org/wiki/MD5) script in your HTML markup:
1313

1414
```html
1515
<script src="js/md5.min.js"></script>
1616
```
1717

18-
In your application code, calculate the ([hex](http://en.wikipedia.org/wiki/Hexadecimal)-encoded) [MD5](http://en.wikipedia.org/wiki/MD5) hash of a string by calling the **md5** method with the string as argument:
18+
In your application code, calculate the ([hex](https://en.wikipedia.org/wiki/Hexadecimal)-encoded) [MD5](https://en.wikipedia.org/wiki/MD5) hash of a string by calling the **md5** method with the string as argument:
1919

2020
```js
2121
var hash = md5("value"); // "2063c1608d6e0baf80249c42e2be5804"
@@ -25,7 +25,7 @@ var hash = md5("value"); // "2063c1608d6e0baf80249c42e2be5804"
2525

2626
The following is an example how to use the JavaScript MD5 module on the server-side with [node.js](http://nodejs.org/).
2727

28-
Create a new directory and add the **md5.js** file. Or alternatively, install the **blueimp-md5** package with [npm](http://npmjs.org/):
28+
Create a new directory and add the **md5.js** file. Or alternatively, install the **blueimp-md5** package with [npm](https://www.npmjs.org/):
2929

3030
```sh
3131
npm install blueimp-md5
@@ -59,32 +59,32 @@ The JavaScript MD5 script has zero dependencies.
5959

6060
## API
6161

62-
Calculate the ([hex](http://en.wikipedia.org/wiki/Hexadecimal)-encoded) [MD5](http://en.wikipedia.org/wiki/MD5) hash of a given string value:
62+
Calculate the ([hex](https://en.wikipedia.org/wiki/Hexadecimal)-encoded) [MD5](https://en.wikipedia.org/wiki/MD5) hash of a given string value:
6363

6464
```js
6565
var hash = md5("value"); // "2063c1608d6e0baf80249c42e2be5804"
6666
```
6767

68-
Calculate the ([hex](http://en.wikipedia.org/wiki/Hexadecimal)-encoded) [HMAC](http://en.wikipedia.org/wiki/HMAC)-MD5 hash of a given string value and key:
68+
Calculate the ([hex](https://en.wikipedia.org/wiki/Hexadecimal)-encoded) [HMAC](https://en.wikipedia.org/wiki/HMAC)-MD5 hash of a given string value and key:
6969

7070
```js
7171
var hash = md5("value", "key"); // "01433efd5f16327ea4b31144572c67f6"
7272
```
7373

74-
Calculate the raw [MD5](http://en.wikipedia.org/wiki/MD5) hash of a given string value:
74+
Calculate the raw [MD5](https://en.wikipedia.org/wiki/MD5) hash of a given string value:
7575

7676
```js
7777
var hash = md5("value", null, true);
7878
```
7979

80-
Calculate the raw [HMAC](http://en.wikipedia.org/wiki/HMAC)-MD5 hash of a given string value and key:
80+
Calculate the raw [HMAC](https://en.wikipedia.org/wiki/HMAC)-MD5 hash of a given string value and key:
8181

8282
```js
8383
var hash = md5("value", "key", true);
8484
```
8585

8686
## Tests
87-
The JavaScript MD5 project comes with [Unit Tests](http://en.wikipedia.org/wiki/Unit_testing).
87+
The JavaScript MD5 project comes with [Unit Tests](https://en.wikipedia.org/wiki/Unit_testing).
8888
There are two different ways to run the tests:
8989

9090
* Open test/index.html in your browser or

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</head>
2525
<body>
2626
<h1>JavaScript MD5 Demo</h1>
27-
<p>JavaScript <a href="http://en.wikipedia.org/wiki/MD5">MD5</a> implementation.<br>
27+
<p>JavaScript <a href="https://en.wikipedia.org/wiki/MD5">MD5</a> implementation.<br>
2828
Compatible with server-side environments like <a href="http://nodejs.org/">node.js</a>, module loaders like <a href="http://requirejs.org/">RequireJS</a> and all web browsers.</p>
2929
<ul class="navigation">
3030
<li><a href="https://github.com/blueimp/JavaScript-MD5/tags">Download</a></li>

0 commit comments

Comments
 (0)