UNPKG
@gandlaf21/cashu-crypto
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.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
Basic cashu crypto functions
github.com/gandlafbtc/cashu-crypto-ts
gandlafbtc/cashu-crypto-ts
@gandlaf21/cashu-crypto
/
modules
/
util
/
utils.d.ts
4 lines
•
238 B
TypeScript
View Raw
1
2
3
4
export
declare
function
bytesToNumber
(
bytes
:
Uint8Array
):
bigint
;
export
declare
function
hexToNumber
(
hex
:
string
):
bigint
;
export
declare
function
encodeBase64toUint8
(
base64String
:
string
):
Uint8Array
;
//# sourceMappingURL=utils.d.ts.map