Skip to content

Commit 897420e

Browse files
update changelog
[ci skip]
1 parent 5bcdf0a commit 897420e

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased](https://github.com/cryptomator/siv-mode/compare/1.6.0...HEAD)
99

10+
### Added
11+
- new lowlevel API:
12+
* `new SivEngine(key).encrypt(plaintext, associatedData...)`
13+
* `new SivEngine(key).decrypt(plaintext, associatedData...)`
14+
- implement JCA `Cipher` SPI:
15+
```
16+
Cipher siv = Cipher.getInstance("AES/SIV/NoPadding");
17+
siv.init(Cipher.ENCRYPT_MODE, key);
18+
siv.updateAAD(aad1);
19+
siv.updateAAD(aad2);
20+
byte[] ciphertext = siv.doFinal(plaintext);
21+
```
22+
23+
### Changed
24+
- remove dependencies on BouncyCastle and Jetbrains Annotations
25+
- simplify build by removing `maven-shade-plugin`
26+
- update test dependencies
27+
- update build plugins
28+
29+
### Deprecated
30+
- old lowlevel API:
31+
* `new SivMode().encrypt(ctrKey, macKey, encrypted)`
32+
* `new SivMode().decrypt(ctrKey, macKey, ciphertext)`
33+
34+
1035
## [1.6.0](https://github.com/cryptomator/siv-mode/compare/1.5.2...1.6.0)
1136
1237
### Added
13-
1438
- This CHANGELOG file
1539
- `encrypt(SecretKey key, byte[] plaintext, byte[]... associatedData)` and `decrypt(SecretKey key, byte[] ciphertext, byte[]... associatedData)` using a single 256, 384, or 512 bit key
1640
1741
### Changed
18-
1942
- use `maven-gpg-plugin`'s bc-based signer

0 commit comments

Comments
 (0)