The Programming Works – TCiphers supports encryption/decryption in multiple threads for stream ciphers and block ciphers in CTR mode of operation. The idea is simple – to encrypt N bytes of data in m threads you split the data into m parts, each part approximately of N/m bytes size, then create m TCipher instances and encrypt m parts in parallel. The TCiphers methods needed to implement this algorithm are: function TCipher.Copy: TCipher; function TCipher.Skip(Value: LongWord): TCipher; overload; function TCipher.Skip(Value: UInt64): TCipher; overload; property TCipher.BlockSize: Cardinal; The ...
Visits by Source
Users who voted for this posting