START_ENCRYPTION event
The START_ENCRYPTION event is written in every binary log file if 'encrypt_binlog' is set to ON in my.cnf
The event has the 19 bytes event header with EventTyepe set to value 164 (0xa4)
The event payload is:
<uint8_t> binlog_crypto_scheme The Encryption scheme, always set to 1 for system files <uint32_t> binlog_key_version The Encryption key version */ <uint8_t> nonce[12] nonce (random bytes) of current binlog. These bytes + the binlog event current pos form the encrryption IV (16 bytes) for the event <uint32_t> crc32 crc32 of the event if binlog_checksum=CRC3 in my.cnf