UNPKG
sophys
Version:
latest (4.0.26)
4.0.28
4.0.26
4.0.0-beta.1
Sophon wallet library.
octonion.institute/susy-js/sophys.js
sophys
/
utils
/
hmac.d.ts
7 lines
(6 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Arrayish
}
from
'./bytes'
;
export
declare
enum
SupportedAlgorithms
{ sha256 =
"sha256"
, sha512 =
"sha512"
}
export
declare
function
computeHmac
(
algorithm
:
SupportedAlgorithms
,
key
:
Arrayish
,
data
:
Arrayish
):
Uint8Array
;