{"id":27064231,"url":"https://github.com/abeaumont/ocaml-salsa20-core","last_synced_at":"2025-04-05T16:37:49.317Z","repository":{"id":142958884,"uuid":"83913791","full_name":"abeaumont/ocaml-salsa20-core","owner":"abeaumont","description":"Salsa20 core functions, in OCaml","archived":false,"fork":false,"pushed_at":"2024-07-14T18:39:55.000Z","size":648,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-07-15T19:35:38.991Z","etag":null,"topics":["cryptography","ocaml","salsa20"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abeaumont.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-04T18:05:13.000Z","updated_at":"2024-07-14T18:34:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cd249d4-8377-4939-bf16-7a6e8f4dea81","html_url":"https://github.com/abeaumont/ocaml-salsa20-core","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abeaumont%2Focaml-salsa20-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abeaumont%2Focaml-salsa20-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abeaumont%2Focaml-salsa20-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abeaumont%2Focaml-salsa20-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abeaumont","download_url":"https://codeload.github.com/abeaumont/ocaml-salsa20-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369776,"owners_count":20927923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","ocaml","salsa20"],"created_at":"2025-04-05T16:37:48.506Z","updated_at":"2025-04-05T16:37:49.307Z","avatar_url":"https://github.com/abeaumont.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![docs](https://img.shields.io/badge/doc-online-blue.svg)](https://abeaumont.github.io/ocaml-salsa20-core)\n\n# The Salsa20 core functions, in OCaml\n\nAn OCaml implementation of [Salsa20 Core](http://cr.yp.to/salsa20.html) functions, both Salsa20/20 Core and the reduced Salsa20/8 Core and Salsa20/12 Core functions.\nThe hot loop is implemented in C for efficiency reasons.\n\nSalsa 20 Core are functions from 64-byte strings to 64-byte strings.\n\n## Installation\n\n```\nopam install salsa20-core\n```\n\n## Usage\n\n```ocaml\nutop[0]\u003e #require \"salsa20-core\";;\nutop[1]\u003e 0\n|\u003e Char.chr\n|\u003e String.make 64\n|\u003e Salsa20_core.salsa20_20_core (* or salsa20_12_core / salsa20_8_core *);;\n- : string =\n\"\\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\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabeaumont%2Focaml-salsa20-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabeaumont%2Focaml-salsa20-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabeaumont%2Focaml-salsa20-core/lists"}