ricmoo / aes-js

A pure JavaScript implementation of the AES block cipher and all common modes of operation for node.js or web browsers.
MIT License
1.45k stars 272 forks source link

progress indicator callback #112

Closed webdevelopland closed 1 day ago

webdevelopland commented 2 years ago

Callback for encrypt/decrypt function, to be able to get progress, while the function is doing the job.
The callback returns the number of bytes that were encrypted/decrypted.