The OnCryptoInit event is fired when the engine needs to initialize the block ciper data for a specified key. Please see the Encryption topic for more information on the default block cipher encryption in DBISAM.
If you assign an event handler to this event to override the default encryption initialization, you should make sure that you also assign an event handler to the OnCryptoReset, OnEncryptBlock, OnDecryptBlock events. Failure to do so can cause serious problems such as access violations.