fix: comments improved
All checks were successful
Release / release (push) Successful in 2m35s

Signed-off-by: Leo Galambos <lg@hq.egothor.org>
This commit is contained in:
2025-09-17 00:57:41 +02:00
parent f3ab7476f2
commit 0c4060774e
3 changed files with 82 additions and 34 deletions

View File

@@ -130,8 +130,8 @@ class CombinedDeliveryTest {
// Password (via KDF)
.addPasswordRecipient(password, /* iterations */ 200_000, /* saltLen */ 16, /* kekBytes */ 32)
// and some decoys
.addRecipient(CryptoAlgorithms.create("RSA", KeyUsage.ENCRYPT, decoy1rsa.getPublic()))
.addRecipient(CryptoAlgorithms.create("RSA", KeyUsage.ENCRYPT, decoy2rsa.getPublic()));
.addRecipientDecoy(CryptoAlgorithms.create("RSA", KeyUsage.ENCRYPT, decoy1rsa.getPublic()))
.addRecipientDecoy(CryptoAlgorithms.create("RSA", KeyUsage.ENCRYPT, decoy2rsa.getPublic()));
// shuffle all the recipients
multi.shuffle();