package salsa20-core
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=cf1abb67a59f204d2a25b4edefacb3c5ecd528199f50b8f8dd4ec7904eb3880b
sha512=b4eff10f221bdab56d86d57472bd9871c2579a75152c91ef0db033e471a37ccfd344591df788155315a7c533ce79d6fc96fb9db0241daffa4541c0530a270c39
Description
An OCaml implementation of Salsa20 Core functions, both Salsa20/20 Core and the reduced Salsa20/8 Core and Salsa20/12 Core functions. The hot loop is implemented in C for efficiency reasons.
Added to opam-repository:
README
The Salsa20 core functions, in OCaml
An OCaml implementation of Salsa20 Core functions, both Salsa20/20 Core and the reduced Salsa20/8 Core and Salsa20/12 Core functions. The hot loop is implemented in C for efficiency reasons.
Salsa 20 Core are functions from 64-byte strings to 64-byte strings.
Installation
opam install salsa20-coreUsage
utop[0]> #require "salsa20-core";;
utop[1]> 0
|> Char.chr
|> String.make 64
|> Cstruct.of_string
|> Salsa20_core.salsa20_20_core (* or salsa20_12_core / salsa20_8_core *)
|> Cstruct.to_string;;
- : string =
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
Dependencies (4)
-
ocaml
>= "4.02.0" -
cstruct
>= "3.2.0" & < "6.1.0" -
dune
>= "1.3.0" -
conf-pkg-config
build
Dev Dependencies (1)
-
alcotest
with-test
Optional Dependencies (2)
Used by (2)
-
salsa20
>= "1.1.0" - scrypt-kdf
Conflicts (2)
-
ocaml-freestanding
< "0.4.1" -
mirage-xen-posix
< "3.1.0"
Build status
Results of building salsa20-core with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure