Skip to content

Commit 57e04ff

Browse files
authored
Merge pull request #8 from seebees/patch-hkdf-with-info
fix: HKDF info can be a typed array
2 parents 2a17903 + 8379ad8 commit 57e04ff

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/msrcrypto.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//*******************************************************************************
1818
"use strict";
1919

20-
var msrCryptoVersion = "1.6.2";
20+
var msrCryptoVersion = "1.6.3";
2121

2222
(function(root, factory) {
2323

@@ -7468,7 +7468,7 @@ var msrCryptoVersion = "1.6.2";
74687468
byteLen = Math.ceil(bits / 8),
74697469
hLen,
74707470
output = [],
7471-
infoBytes = algorithm.info,
7471+
infoBytes = msrcryptoUtilities.toArray(algorithm.info),
74727472
t = [],
74737473
i,
74747474
hmacContext;

lib/msrcrypto.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/msrcrypto",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"description": "MSR JavaScript Cryptography Library",
55
"license": "Apache-2.0",
66
"repository": {

scripts/bundleHead.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
"use strict";
2121

22-
var msrCryptoVersion = "1.6.2";
22+
var msrCryptoVersion = "1.6.3";
2323

2424
// UMD wrapper
2525
(function(root, factory) {

scripts/hkdf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var msrcryptoHkdf = (function() {
2828
byteLen = Math.ceil(bits / 8),
2929
hLen,
3030
output = [],
31-
infoBytes = algorithm.info,
31+
infoBytes = msrcryptoUtilities.toArray(algorithm.info),
3232
t = [],
3333
i,
3434
hmacContext;

0 commit comments

Comments
 (0)