UNPKG
@cashu/crypto
Version:
latest (0.3.4)
next (0.3.6-rc.0)
0.3.6-rc.0
0.3.4
0.3.3
0.3.3-rc.0
0.3.2
0.3.2-rc.0
0.3.1
0.2.7
0.2.6
Basic cashu crypto functions
github.com/cashubtc/cashu-crypto-ts
cashubtc/cashu-crypto-ts
@cashu/crypto
/
modules
/
esm
/
util
/
utils.d.ts
4 lines
(3 loc)
•
203 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
;