Skip to content

2.0.0

Compare
Choose a tag to compare
@gurpreet- gurpreet- released this 23 May 17:48
· 123 commits to master since this release

This release breaks initialisation of LazySodium to make loading of different functions easier. Please read on.

Fixes:

  • Fixed differences in Java and Android API.
  • Fixed Scrypt not working on Android - #4.

Breaking:

  • Moved related Scrypt functions to its own interface Scrypt.java.
  • Important: Due to the above fix, there has been a change of API when initialising LazySodium. Instead of doing LazySodium ls = new LazySodium(), you now must correctly use the variant of LazySodium LazySodiumJava ls = new LazySodiumJava() or LazySodiumAndroid ls = new LazySodiumAndroid().
  • This divide will also enable the use of other functions. Please see #4 for more information on what caused these breaking changes and also please see the docs on how to initialise LazySodium in this version and beyond.

Cross-posted from Lazysodium for Java.