bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
237 stars 122 forks source link

Added Poly1305, ChaCha20, and Associated Tests #12

Closed AKushWarrior closed 4 years ago

AKushWarrior commented 4 years ago

This is the first of the pull requests mentioned in #7. I'll be making more for ChaCha20-Poly1305, AES-GCM, various padding options, and a general code cleanup.

AKushWarrior commented 4 years ago

@mwcw Is there an update on this? I don't want to add too many algorithms to this PR.

mwcw commented 4 years ago

Hi

Thanks this PR has been merged with some minor revisions.

Poly1305.aes(..) was renamed to Poly1305.withCipher(...)

Thanks again!

MW

AKushWarrior commented 4 years ago

Cool, and no problem.

I had named it .aes for testing, and I guess I forgot to change it. I'll submit ChaCha20-Poly1305 later today or tomorrow.