DEV Community

Discussion on: Cryptography for programmers 2: Blocks and Randomness

Collapse
 
shierve profile image
Sergi Canal

Yes the library handles the blocks and padding. You could make it asyncronous depending of your use case. However if you are encrypting large amounts of data, then maybe CBC is not the best mode since it can not be parallelized.