-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for decrypting a version-prefixed ciphertext.
Some existing implementations prefix the encrypted ciphertext with a version byte (which is always 0x01 to my knowledge). This commit adds support for decrypting these payloads. This change includes an internal API to generate versioned ciphertext for testing, but it does not add a public one. This could be done in the future simply by exposing the existing private method. Signed-off-by: Aaron Jacobs <[email protected]>
- Loading branch information
Showing
2 changed files
with
75 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters