-
@vcsjones can u implement that is that possible with that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For the same reasons as what was outlined in the The next logical follow up question is "Can you implement XChaCha20Poly1305 using ChaCha20Poly1305" No. Despite the algorithm name similarity, you cannot implement XChaCha20Poly1305 in terms of ChaCha20Poly1305. XChaCha20Poly1305 requires using an internal part of the ChaCha20 cipher to create a primitive called |
Beta Was this translation helpful? Give feedback.
For the same reasons as what was outlined in the
Argon2
question, except this time even OpenSSL has not implemented it, meaning we have zero implementations we could use.The next logical follow up question is "Can you implement XChaCha20Poly1305 using ChaCha20Poly1305"
No. Despite the algorithm name similarity, you cannot implement XChaCha20Poly1305 in terms of ChaCha20Poly1305. XChaCha20Poly1305 requires using an internal part of the ChaCha20 cipher to create a primitive called
HChaCha20
. Plain ChaCha20 does not give us the control over the counter.