Skip to content

Add Additional Authenticated Data (AAD) support

Choose a tag to compare

@spaze spaze released this 19 Jul 20:52
v2.2.0
301cb61

What's Changed

  • Add Additional Authenticated Data (AAD) support via encryptWithAd()/decryptWithAd() (#30)
    From the README: "Additional Authenticated Data (AAD) cryptographically binds a ciphertext to a context (like a row id, column name, or tenant id). The additional data (the context) is not encrypted, and thus it must not be a secret. This prevents attackers or buggy scripts from copying a valid ciphertext from one place and pasting it into another."
  • Docs updates (#28)
  • Bump actions/checkout (#26, #27)