UNPKG
@synet/core
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
Core cryptographic and identity primitives for Synet agents.
synthetism.ai/synet
synthetism/synet
@synet/core
/
dist
/
crypto
/
Hash.d.ts
4 lines
(3 loc)
•
203 B
TypeScript
View Raw
1
2
3
4
export
declare
function
sha256Hex
(
input
:
string
|
Buffer
):
string
;
export
declare
function
sha256Base64
(
input
:
string
|
Buffer
):
string
;
export
declare
function
hashToAgentId
(
publicKey
:
string
):
string
;