Skip to content

Releases: terl/lazysodium-android

2.5.0

16 Jun 00:03
Compare
Choose a tag to compare

Also mirrored on Bintray.

New features:

Fixes:

  • Lint config now prevents excluded files from showing up as errors #8 #7.

Enjoy 👍

2.4.0

10 Jun 00:22
Compare
Choose a tag to compare

New features:

Enjoy 👍

2.3.0

05 Jun 00:39
Compare
Choose a tag to compare

New features:

  • Secure memory functions implemented.

See Bintray for the aars and sources.

2.2.0

30 May 00:13
Compare
Choose a tag to compare

Fixes:

  • Fixed Android crashing functions #5
  • Fixed a cryptoBoxBeforeNm test.

Breaking:

  • Some function signatures have been changed from Long to long[]. Please see #5. You can either pass in new long[1] to get the address back or you can pass in null. The recommended method is passing in null.

Enjoy 🎉
Cross posted from Lazysodium for Java.

2.1.0

26 May 12:59
Compare
Choose a tag to compare

New features:

Warnings:

  • The function cryptoGenericHashUpdate does not seem to accept a key of minimum size of KEYBYTES_MIN on linux but works on mac. It works on all platforms with the recommended size of KEYBYTES or higher.

Cross posted from Lazysodium for Java.

2.0.0

23 May 17:48
Compare
Choose a tag to compare

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.

1.2.2

22 May 15:11
Compare
Choose a tag to compare

New features:

  • AES Native added to AEAD.java - #12.

Fixes:

  • Various functions relating to AEAD in Sodium.java and AEAD.java have been changed to fix incorrect function references.

Enjoy 👍

Cross posted from Lazysodium for Java.

1.2.1

21 May 13:19
Compare
Choose a tag to compare

New features:

Breaking:

  • Some cryptoPwHash() functions now require longs instead of ints. This is due to Scrypt being introduced so we wanted some similarity between Argon and Scrypt functions.

Cross posted from Lazysodium for Java.

1.1.4

18 May 21:09
Compare
Choose a tag to compare

New features:

  • Docs now available at https://docs.lazycode.co/lazysodium
  • All the JNA native functions in Sodium.java have been exposed. This means you can bypass Lazysodium's Native and Lazy abstractions and go direct to the JNA Native abstraction level.
  • Added the rest of PwHash constants.
  • Added detached functions to Sign.
  • Added detached functions to SecretBox.

Breaking:

  • Removed crypto_shorthash_siphashx24 functions altogether #15.

Enjoy 💯

1.1.1

17 May 00:37
Compare
Choose a tag to compare

New features:

  • Pre-calculation interface in Box.java much more lazier.