Closed dbrgn closed 5 years ago
Branch updated. Tests now use lazysodium-java with precompiled libsodium builds included. This simplifies testing.
In production, a custom implementation should be used though for performance and target platform reasons.
Add an abstraction over the concrete NaCl implementation. This allows swapping out the pure-java jnacl implementation with another one that has better performance characteristics (e.g. using NaCl native code or with libsodium).
The jnacl library remains vendorized, a
JnaclCryptoProvider
instance is provided for convenience and testing.Fixes #92.