Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.7 KB

File metadata and controls

49 lines (38 loc) · 1.7 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • new low-level API:
    • new SivEngine(key).encrypt(plaintext, associatedData...)
    • new SivEngine(key).decrypt(plaintext, associatedData...)
  • implement JCA Cipher SPI:
    Cipher siv = Cipher.getInstance("AES/SIV/NoPadding");
    siv.init(Cipher.ENCRYPT_MODE, key);
    siv.updateAAD(aad1);
    siv.updateAAD(aad2);
    byte[] ciphertext = siv.doFinal(plaintext);

Changed

  • remove dependencies on BouncyCastle and Jetbrains Annotations
  • simplify build by removing maven-shade-plugin
  • update test dependencies
  • update build plugins
  • Pin CI actions (#92)

Deprecated

  • old low-level API:
    • new SivMode().encrypt(key, plaintext, associatedData...)
    • new SivMode().encrypt(ctrKey, macKey, plaintext, associatedData...)
    • new SivMode().decrypt(key, ciphertext, associatedData...)
    • new SivMode().decrypt(ctrKey, macKey, ciphertext, associatedData...)

Changed

  • update dependencies

Added

  • This CHANGELOG file
  • encrypt(SecretKey key, byte[] plaintext, byte[]... associatedData) and decrypt(SecretKey key, byte[] ciphertext, byte[]... associatedData) using a single 256, 384, or 512 bit key

Changed

  • use maven-gpg-plugin's bc-based signer