Question of realm's encryption

hi i am new about realm database
first of all i am thx to create this

as i study realm’s encryption process, i got a simple? question
in realm-core library, i looked at AESCryptor::write func in encrypted_file_mapping.
it look like they don’t generate IV. in code, just call get_iv_table, but in the get_iv_table function, just return pointer of iv_table. i guess it means iv_table structure does not initialized.
is it true?
it is not, then give a solution plz…
thx to read

Hi, I’ve answered your question where it was cross posted with more context, at https://github.com/realm/realm-core/issues/2899#issuecomment-546241113