Skip to content

Conversation

@james-kwong
Copy link

Updated the valid range of initialization vector lengths for the XChaCha20 cipher from 12 bytes to 24 bytes, which is the correct value.

Checklist:

  • Correct file headers (see CONTRIBUTING.md).
  • Formatted with SwiftFormat.
  • Tests added.

Updated the valid range of initialization vector lengths for the XChaCha20 cipher from 12 bytes to 24 bytes, which is the correct value.

Signed-off-by: James Kwong <[email protected]>
@krzyzanowskim
Copy link
Owner

why? this need more merit to discuss

@james-kwong
Copy link
Author

I thought the ChaCha20 cipher used a 12 byte nonce, whereas XChaCha20 used 24 bytes?

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.

2 participants