###It's written for the learning purpose only. It's not recommended to be used in any project.
In this repo I have implemented chacha20-poly1305. I have used IETF RFC 7539 as reference for implemention.
- Separate the unit test from the chacha20-poly1305.js
- Make the chach20-poly1305.js exportable
- Optimize the code