Crypto API

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I'm using the attached class to access the PPC encryption API.
basically it uses CryptEncrypt() & CryptDecrypt()

It output 8 byte buffer (or multiple of 8 bytes buffer while crypting)
I wonder if I could expect this behavior to be stable and rely on it ?
 
if its a block algorithm then it should run in multiples of the block size.

normally I take the size of my data in these cases and round up to the
nearest block size
 
Back
Top