class Match::Encryption::EncryptionV2

The newer encryption mechanism, which features a more secure key and IV generation.

The IV is randomly generated and provided unencrypted. The salt should be randomly generated and provided unencrypted (like in the current implementation). The key is generated with OpenSSL::KDF::pbkdf2_hmac with properly chosen parameters.

Short explanation about salt and IV: stackoverflow.com/a/1950674/6324550