You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen here, the code already supports using an ArrayBuffer as input for the key when instanciating HmacSha512, but the types state that it only accepts a string as the key (see below) - the types should be updated to reflect that it can accept other types as well.
As seen here, the code already supports using an ArrayBuffer as input for the key when instanciating
HmacSha512
, but the types state that it only accepts a string as the key (see below) - the types should be updated to reflect that it can accept other types as well.js-sha512/index.d.ts
Lines 37 to 51 in b6c4431
Ref :
js-sha512/src/sha512.js
Lines 819 to 859 in b6c4431
The text was updated successfully, but these errors were encountered: