Releases: terl/lazysodium-android
Releases · terl/lazysodium-android
2.5.0
Also mirrored on Bintray.
New features:
- Added
crypto_sign_ed25519_sk_to_pk
andcrypto_sign_ed25519_sk_to_seed
terl/lazysodium-java#32. NativeUtils.java
modified to work almost on Java 7 terl/lazysodium-java#30.- Tested fully on a Nexus 4 on Android 16.
Fixes:
Enjoy 👍
2.4.0
2.3.0
2.2.0
Fixes:
- Fixed Android crashing functions #5
- Fixed a
cryptoBoxBeforeNm
test.
Breaking:
- Some function signatures have been changed from
Long
tolong[]
. Please see #5. You can either pass innew long[1]
to get the address back or you can pass innull
. The recommended method is passing in null.
Enjoy 🎉
Cross posted from Lazysodium for Java.
2.1.0
New features:
- Ed25519 to Curve25519 keys conversion terl/lazysodium-java#21, terl/lazysodium-java#22
Warnings:
- The function
cryptoGenericHashUpdate
does not seem to accept a key of minimum size ofKEYBYTES_MIN
on linux but works on mac. It works on all platforms with the recommended size ofKEYBYTES
or higher.
Cross posted from Lazysodium for Java.
2.0.0
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 interfaceScrypt.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 LazySodiumLazySodiumJava ls = new LazySodiumJava()
orLazySodiumAndroid 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
1.2.1
New features:
- SHA256 and SHA512 hashing operations added .
- Scrypt password hashing added.
Breaking:
- Some
cryptoPwHash()
functions now requirelong
s instead ofint
s. 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
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'sNative
andLazy
abstractions and go direct to theJNA 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 💯