CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 18:32:27 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"39c1a5d967ad4dfe77f434ce34fb2410"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=E%2BWj3NKkp24NRY6S1wbELeTF3VI8f%2Fi9cuwqeBdO1aLkBXGgiSBNweFElqovCwQSZdrWBWHM76kiDSjGkClDLVdtz8Gew1h9Ls0Xlm9SQ31iRUsRByiVwD8Sl8Y3fmXWY19L70Fv3Q3KIvuqsSbASYiUeam%2BX3fnzJ%2FAEV1XGrVwa%2Fnhl1kmo96enFSbdv%2FWaXBhlyS2v9ZsqnOcZN77MJZi9liGWwfnk64mleD1IpuBmrl%2B3g7c%2FJkMdo88K3rP70esRk3r%2B27s0Hf9ckwhnA%3D%3D--kVfkrMNoLDabSWrn--74ztqQkeenhEtHjlNsaVHg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.805037743.1753554747; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 18:32:27 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 18:32:27 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E298:1E56AF:80D739:A6783B:68851F3B
Features · terl/lazysodium-java Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 52
Features
Gurpreet Paul edited this page Nov 18, 2022
·
6 revisions
- Kotlin compatible.
- Fat-jar compatible; can be used in applications such as SpringBoot.
- Up-to-date with the awesome Libsodium library (version
1.0.18
, 17th Nov 2022). - Bundled and compiled native libraries so you don't have to.
- Ability to use commercially under the terms of the MPLv2.
- Great collaborative documentation.
- Reactive and fast release cadence.
- Bring your own Libsodium native libraries.
- Lazysodium for Android and Lazysodium for Java both benefit from the same codebase.
- They both have been designed with JNA Direct Mapping for extra speed.
- Architected in a composite oriented fashion to allow developers to narrow what operation they want to use at any time - less opportunity for bugs.
- Architected in such a way that you can use raw JNA wrapped native C functions whenever you want.
- Super easy install.
- Completely open source.
A checkmark in the Native
column means that the particular operation has C native functions written for Java and Android. A checkmark in the Lazy
column means that the particular operation has been smartly implemented so that the developer has an effortless experience on Java and Android. A checkmark in the Tests
column means that testing has been performed on that operation for both Java and Android.
Operation | Native | Lazy | Tests |
---|---|---|---|
Auth - crypto_auth* functions |
✔ | ✔ | ✔ |
AEAD -crypto_aead* functions |
✔ | ✔ | ✔ |
Box - crypto_box* functions |
✔ | ✔ | ✔ |
Diffie-Hellman - crypto_scalarmult* functions |
✔ | ✔ | ✔ |
Ed25519 to Curve25519 - crypto_sign_ed25519 functions |
✔ | ✔ | ✔ |
GenericHash - crypto_generichash* functions |
✔ | ✔ | ✔ |
HMAC-SHA-2 - crypto_auth_hmacsha* functions |
✔ | ✔ | ✔ |
KeyDerivation - crypto_kdf* functions |
✔ | ✔ | ✔ |
KeyExchange - crypto_kx* functions |
✔ | ✔ | ✔ |
Padding - several padding functions | ✔ | ✔ | ✔ |
PwHash - crypto_pwhash* functions |
✔ | ✔ | ✔ |
Random - several randomisation functions | ✔ | ✔ | ✔ |
Scrypt - crypto_pwhash_scrypt* functions2
|
✔ | ✔ | ✔ |
SecretBox - crypto_secretbox* functions |
✔ | ✔ | ✔ |
SecretStream - crypto_secretstream* functions |
✔ | ✔ | ✔ |
SHA256/SHA512 - crypto_hash* functions |
✔ | ✔ | ✔ |
ShortHash - crypto_shorthash* functions |
✔ | ✔ | ✔ |
Sign - crypto_sign* functions |
✔ | ✔ | ✔ |
Stream Ciphers1 - crypto_stream* functions |
✔ | ✔ | ✔ |
SecureMemory - sodium_m functions |
✘ | ✔ | ✔ |
- The Android variant does not have Salsa20 8 and 12 rounds and no XChaCha20.
- The Android variant does not have functions of the following form:
cryptoPwHashScryptSalsa208*
Please see this question in the FAQ for the reason as to why certain functions are not available on Android.
Clone this wiki locally
You can’t perform that action at this time.