Icon OnEncryptBlock Event

property OnEncryptBlock: TEncryptBlockEvent


The OnEncryptBlock event is fired when the engine needs to encrypt an 8-byte block of data. Please see the Encryption topic for more information on the default block cipher encryption in DBISAM.

Information If you assign an event handler to this event to override the default block encryption, you should make sure that you also assign an event handler to the OnCryptoInit, OnCryptoReset, and OnDecryptBlock events. Failure to do so can cause serious problems such as access violations.