Skip to content

Randomly generated IV, backward-compatible (#1464)#1465

Open
uweschaefer wants to merge 19 commits intomainfrom
issue1462
Open

Randomly generated IV, backward-compatible (#1464)#1465
uweschaefer wants to merge 19 commits intomainfrom
issue1462

Conversation

@uweschaefer
Copy link
Copy Markdown
Contributor

Merging into issue branch for further development - thx @BernhardBln

  • Introducing random iv, backward-compatible
  • Not mandatory anymore to set a iv for the JDKCryptoEngine
  • No matter if a fixed iv is set or not, new containers will use random ivs
  • The iv is stored as a separate field in a crypto container
  • Containers created with a fix iv still get decrypted if the iv is configured

removed comment

  • Moved iv generation to engine

As different engines probably have different needs.

  • simple benchmark

BernhardBln and others added 2 commits February 18, 2026 10:33
Merging into issue branch for further development - thx @BernhardBln

* Introducing random iv, backward-compatible

- Not mandatory anymore to set a iv for the JDKCryptoEngine
- No matter if a fixed iv is set or not, new containers will use random ivs
- The iv is stored as a separate field in a crypto container
- Containers created with a fix iv still get decrypted if the iv is configured

removed comment

* Moved iv generation to engine

As different engines probably have different needs.

* simple benchmark
@uweschaefer uweschaefer marked this pull request as draft February 18, 2026 09:34
@uweschaefer uweschaefer changed the title Draft - Randomly generated IV, backward-compatible (#1464) Randomly generated IV, backward-compatible (#1464) Feb 24, 2026
@uweschaefer uweschaefer marked this pull request as ready for review February 24, 2026 16:09
@bedaka bedaka linked an issue Mar 9, 2026 that may be closed by this pull request
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cryptoshred.initVector

5 participants