2026-11-21 21:07:27 +01:00
|
|
|
(package
|
|
|
|
|
(name (bjosodium))
|
2026-11-22 08:13:50 +01:00
|
|
|
(version "0.2.0")
|
2026-11-21 21:07:27 +01:00
|
|
|
(description "libsodium for Bjolang: AEGIS-256 and XChaCha20-Poly1305 encryption, and Argon2id password hashing.")
|
|
|
|
|
(license "MPL-2.0")
|
|
|
|
|
|
|
|
|
|
;; LibSodium.Net is the .NET binding. The libsodium package has the native
|
|
|
|
|
;; library, built for each platform, Android and iOS too, so nothing has to
|
|
|
|
|
;; be installed.
|
|
|
|
|
;;
|
|
|
|
|
;; Both versions are fixed. LibSodium.Net raises when it starts if the
|
|
|
|
|
;; native library is not the libsodium 1.0.x it was built for (1.0.20 for
|
|
|
|
|
;; 0.16.0-alpha). 1.0.20.2 is the first build of 1.0.20 with Android
|
|
|
|
|
;; libraries in it.
|
|
|
|
|
(packages
|
|
|
|
|
(nuget (id "LibSodium.Net") (version "[0.16.0-alpha]"))
|
|
|
|
|
(nuget (id "libsodium") (version "[1.0.20.2, 1.0.21)")))
|
|
|
|
|
|
|
|
|
|
;; A library: there is no src/main.bjo.
|
|
|
|
|
)
|