nitram509 / jmacaroons

Pure Java implementation of Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud. Android ready. Online playground available. Project is STALE
https://macaroons.io/
Apache License 2.0
115 stars 11 forks source link

Use maintained implementations of XSalsa20 & Poly1305 #38

Closed cyberdelia closed 1 year ago

cyberdelia commented 2 years ago

This use Bouncy Castle implementation of XSalsa20 & Poly1305 to implement NaCL SecretBox. It reduces the amount of crypto code that needs to be maintained, and provides a nicer less error-prone interface to use.

This is freely adapted from this implementation, hence the copyright different notice (both under Apache 2).

nitram509 commented 2 years ago

Thank you very much for your contibution. I will have a look at this PR soon.