UNPKG
@ecies/ciphers
Version:
latest (0.2.5)
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
Node/Pure JavaScript symmetric ciphers adapter
github.com/ecies/js-ciphers
ecies/js-ciphers
@ecies/ciphers
/
dist
/
chacha
/
noble.d.ts
4 lines
(3 loc)
•
242 B
TypeScript
View Raw
1
2
3
4
import
{
Cipher
}
from
"@noble/ciphers/utils"
;
export
declare
const
xchacha20
:
(
key
:
Uint8Array
,
nonce
:
Uint8Array
,
AAD
?:
Uint8Array
) =>
Cipher
;
export
declare
const
chacha20
:
(
key
:
Uint8Array
,
nonce
:
Uint8Array
,
AAD
?:
Uint8Array
) =>
Cipher
;