mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-03-15 11:00:53 +00:00
Due to the design of `AES-CTR` in the webcrypto spec, there is no streaming mode provided. This results in the counter not being reused between subsequent calls to `encrypt` or `decrypt`. As both the node.js and the go implementation rely on this webcrypto had to be replaced.