UNPKG
tweetsodium
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
libsodium sealed cryptobox using tweetnacl
github.com/mastahyeti/tweetsodium
mastahyeti/tweetsodium
tweetsodium
/
index.d.ts
4 lines
(3 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
export
const
overheadLength
: number;
export
function
seal
(
message:
Uint8Array
, publicKey:
Uint8Array
):
Uint8Array
;
export
function
sealOpen
(
message:
Uint8Array
, publicKey:
Uint8Array
, secretKey:
Uint8Array
):
Uint8Array
;