Closed ertankucukoglu closed 4 years ago
Hi, this line has what you need (encrypting chunks of bytes), https://github.com/Xor-el/CryptoLib4Pascal/blob/master/CryptoLib.Tests/src/Crypto/AESTests.pas#L106-#L115
For other examples, please check the unit tests or usageexamples.pas file.
Hello,
I am already using your libraries and thank you for making them available. I had no problem until today. Today, I had the need to encrypt a file using AES/CBC/PKCS7PADDING 256bits.
My existing code is something like below. However, that only encrypts data from TBytes
I believe, it will be helpful to have simple example(s) (nothing like elliptic curves, etc) for people like me who have very simple and basic needs as to encryption and willing to use your libraries.
I also appreciate if you can provide a simple way of encrypting a file. Possibly using one TFileStream class for input and one for output as parameter.
Just a side note, above code is from Delphi, I am trying to solve a problem on Linux (ARM platform) with file encryption, now. So, I will be using Lazarus for that matter.
Thanks & Regards, Ertan