We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf5fcba commit f24e91cCopy full SHA for f24e91c
src/core/crypto/Utilities.ts
@@ -15,7 +15,6 @@
15
*/
16
17
import * as CryptoJS from 'crypto-js';
18
-import { WordArray } from 'crypto-js';
19
import * as hkdf from 'futoin-hkdf';
20
import { sha512 } from 'js-sha512';
21
import { RawArray as array } from '../format';
@@ -34,7 +33,7 @@ export const Half_Hash_Size = Hash_Size / 2;
34
33
*
35
* @return {WordArray}
36
37
-export const ua2words = (ua, uaLength): WordArray => {
+export const ua2words = (ua, uaLength): any => {
38
const temp: number[] = [];
39
for (let i = 0; i < uaLength; i += 4) {
40
const x = ua[i] * 0x1000000 + (ua[i + 1] || 0) * 0x10000 + (ua[i + 2] || 0) * 0x100 + (ua[i + 3] || 0);
0 commit comments