this repo has no description
1opam-version: "2.0" 2synopsis: "Salsa20 family of encryption functions, in pure OCaml" 3description: """ 4```ocaml 5utop[0]> #require "nocrypto";; 6utop[1]> #require "nocrypto.unix";; 7utop[2]> Nocrypto_entropy_unix.initialize ();; 8- : unit = () 9utop[3]> let key = Nocrypto.Rng.generate 32;; 10val key : Cstruct.t = {Cstruct.buffer = <abstr>; off = 0; len = 32} 11utop[4]> let nonce = Cstruct.create 8;; 12val nonce : Cstruct.t = {Cstruct.buffer = <abstr>; off = 0; len = 8} 13utop[5]> #require "salsa20";; 14utop[6]> let state = Salsa20.create key nonce;; 15val state : Salsa20.t = <abstr> 16utop[7]> Salsa20.encrypt (Cstruct.of_string "My secret text") state |> Cstruct.to_string;; 17- : string = " 2\\193\\020`\\142\\182\\234\\188H[R\\241V" 18``` 19""" 20maintainer: "Alfredo Beaumont <alfredo.beaumont@gmail.com>" 21authors: "Alfredo Beaumont <alfredo.beaumont@gmail.com>" 22license: "BSD-2-Clause" 23homepage: "https://github.com/abeaumont/ocaml-salsa20" 24dev-repo: "git+https://github.com/abeaumont/ocaml-salsa20.git" 25bug-reports: "https://github.com/abeaumont/ocaml-salsa20/issues" 26doc: "https://abeaumont.github.io/ocaml-salsa20/" 27depends: [ 28 "ocaml" {>= "4.02.0"} 29 "dune" {>= "1.8"} 30 "cstruct" {>= "1.7.0"} 31 "nocrypto" {>= "0.5.3"} 32 "salsa20-core" {>= "0.1.0" & < "1.0.0"} 33 "salsa20-core" {with-test & >= "0.3.0"} 34 "alcotest" {with-test} 35] 36build: [ 37 ["dune" "subst"] {dev} 38 [ "dune" "build" "-j" jobs "-p" name "@install" ] 39 [ "dune" "runtest" "-j" jobs "-p" name ] {with-test} 40] 41url { 42 src: 43 "https://github.com/abeaumont/ocaml-salsa20/releases/download/1.0.0/salsa20-1.0.0.tbz" 44 checksum: [ 45 "sha256=c816c6658b07d70a23faa85f1582719ec5cb08426f6ca0463abc813af7760a76" 46 "sha512=8017293d2d4185ee8bd283bfeeccf4b25730d193f1aca0724afade0a7e304bbf630b66493de9777d531033d7930373ca42c2efb8a1100ebf5d8a20cadd03aa09" 47 ] 48}