UNPKG
@aviarytech/didcomm-protocols.trust-ping
Version:
latest (0.1.42)
0.1.42
0.1.35
0.1.33
0.1.32
0.1.27
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
DIDComm Trust Ping Protocol
github.com/aviarytech/didcomm
aviarytech/didcomm
@aviarytech/didcomm-protocols.trust-ping
/
dist
/
utils
/
sha256.js
8 lines
•
287 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
sha256
=
void
0
;
const
sha256_1 =
require
(
"@stablelib/sha256"
);
exports
.
sha256
=
(
val
) =>
{
return
Buffer
.
from
(sha256_1.
hash
(
Buffer
.
from
(val))).
toString
(
"hex"
); };
//# sourceMappingURL=sha256.js.map