UNPKG
@libp2p/aes-ctr
Version:
latest (1.0.1)
1.0.1
1.0.0
0.0.0
Streaming AES-CTR for node and browsers
github.com/libp2p/js-libp2p-aes-ctr
libp2p/js-libp2p-aes-ctr
@libp2p/aes-ctr
/
src
/
ciphers.ts
5 lines
(3 loc)
•
137 B
text/typescript
View Raw
1
2
3
4
5
import
crypto
from
'crypto'
export
const
createCipheriv = crypto.
createCipheriv
export
const
createDecipheriv = crypto.
createDecipheriv