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.
- new low-level API:
new SivEngine(key).encrypt(plaintext, associatedData...)new SivEngine(key).decrypt(plaintext, associatedData...)
- implement JCA
CipherSPI:Cipher siv = Cipher.getInstance("AES/SIV/NoPadding"); siv.init(Cipher.ENCRYPT_MODE, key); siv.updateAAD(aad1); siv.updateAAD(aad2); byte[] ciphertext = siv.doFinal(plaintext);
- remove dependencies on BouncyCastle and Jetbrains Annotations
- simplify build by removing
maven-shade-plugin - update test dependencies
- update build plugins
- Pin CI actions (#92)
- 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...)
- update dependencies
- This CHANGELOG file
encrypt(SecretKey key, byte[] plaintext, byte[]... associatedData)anddecrypt(SecretKey key, byte[] ciphertext, byte[]... associatedData)using a single 256, 384, or 512 bit key
- use
maven-gpg-plugin's bc-based signer