vectordotdev / vrl

Vector Remap Language
Mozilla Public License 2.0
138 stars 69 forks source link

Support for AES-SIV (RFC 5297) to provide Deterministic Encryption/Decryption #1100

Closed beardface closed 4 weeks ago

beardface commented 1 month ago

Details

We require Deterministic decryption for our use case, and the ideal algorithm for us is AES-SIV (RFC 5297).

More about why AES-SIV -> https://connect2id.com/blog/deterministic-encryption-with-aes-siv

What needs to update?

The Decrypt lib will need to be updated to support AES-SIV (here).

The following rust library provides an implementation for aes_siv encryption and decryption: https://docs.rs/aes-siv/latest/aes_siv/

pront commented 1 month ago

👋 Thank for this request @beardface. Is this something you are willing to contribute a PR for?

beardface commented 1 month ago

I'm happy to submit the PR for this one as I'm probably the most motivated to see it supported. :)

pront commented 1 month ago

Thank you @beardface! This old PR might be helpful: https://github.com/vectordotdev/vrl/pull/299