Skip to content

Support AES-GCM in encrypt/decrypt functions #1636

@dodo0822

Description

@dodo0822

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Use Cases

Encryption/decryption using AES-GCM.

Attempted Solutions

Currently the encrypt/decrypt functions in VRL support various AES modes such as CTR and CBC, but GCM is missing.

Proposal

The aes_gcm crate provides GCM implementation and has a similar interface to the existing AES modes. It should be a small effort to add new modes to the VRL functions and connect it with aes_gcm. I will send out a PR but keeping this discussion open for any feedback!

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureA value-adding code addition that introduce new functionality.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions