Skip to content

Fix: Initialization vector cannot be reused#1858

Merged
lilgreenbird merged 2 commits intomicrosoft:mainfrom
David-Engel:securestring
Jul 11, 2022
Merged

Fix: Initialization vector cannot be reused#1858
lilgreenbird merged 2 commits intomicrosoft:mainfrom
David-Engel:securestring

Conversation

@David-Engel
Copy link
Copy Markdown
Collaborator

Prepend iv onto the encrypted bytes so that each iv is unique and preserved with its encrypted bytes for later decryption.

Comment thread src/main/java/com/microsoft/sqlserver/jdbc/SecureStringUtil.java Outdated
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.

5 participants