UNPKG
@swan-io/srp
Version:
latest (0.2.6)
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
A modern SRP implementation for Node.js (v15+) and web browsers
github.com/swan-io/srp
swan-io/srp
@swan-io/srp
/
dist
/
utils.d.ts
4 lines
(3 loc)
•
211 B
TypeScript
View Raw
1
2
3
4
export
declare
const
encodeUtf8
:
(
input
?:
string
|
undefined
) =>
Uint8Array
;
export
declare
const
bufferToHex
:
(
buffer
:
ArrayBuffer
) =>
string
;
export
declare
const
hexToBuffer
:
(
hex
:
string
) =>
ArrayBuffer
;