{"id":31581320,"url":"https://github.com/keyweeusr/blake","last_synced_at":"2025-10-05T21:56:19.340Z","repository":{"id":314006684,"uuid":"1053773085","full_name":"KeyWeeUsr/blake","owner":"KeyWeeUsr","description":"BLAKE implementation as per RFC7693","archived":false,"fork":false,"pushed_at":"2025-09-09T23:50:46.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-10T02:53:40.000Z","etag":null,"topics":["blake","blake2","cryptography","cryptography-algorithms","emacs","lisp","rfc7693"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KeyWeeUsr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"KeyWeeUsr","buy_me_a_coffee":"peterbadida","liberapay":"keyweeusr","custom":["https://paypal.me/peterbadida"]}},"created_at":"2025-09-09T23:07:09.000Z","updated_at":"2025-09-09T23:54:28.000Z","dependencies_parsed_at":"2025-09-10T02:53:43.353Z","dependency_job_id":"e50b9494-a4d7-4c23-a92e-ce1e5be037c2","html_url":"https://github.com/KeyWeeUsr/blake","commit_stats":null,"previous_names":["keyweeusr/blake"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KeyWeeUsr/blake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeyWeeUsr%2Fblake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeyWeeUsr%2Fblake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeyWeeUsr%2Fblake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeyWeeUsr%2Fblake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KeyWeeUsr","download_url":"https://codeload.github.com/KeyWeeUsr/blake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeyWeeUsr%2Fblake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278526240,"owners_count":26001326,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["blake","blake2","cryptography","cryptography-algorithms","emacs","lisp","rfc7693"],"created_at":"2025-10-05T21:56:18.219Z","updated_at":"2025-10-05T21:56:19.331Z","avatar_url":"https://github.com/KeyWeeUsr.png","language":"Emacs Lisp","funding_links":["https://github.com/sponsors/KeyWeeUsr","https://buymeacoffee.com/peterbadida","https://liberapay.com/keyweeusr","https://paypal.me/peterbadida","https://www.buymeacoffee.com/peterbadida"],"categories":[],"sub_categories":[],"readme":"# blake\n[![CI][ci-badge]][ci-workflow]\n[![Coverage Status][cover-badge]][cover-link]\n[![Buy me a coffee][bmc-badge]][bmc-link]\n[![Liberapay][lp-badge]][lp-link]\n[![PayPal][ppl-badge]][ppl-link]\n\nBlake implementation in ELisp.\n\nCurrently only `blake2s` (256-bit) and `blake2b` (512-bit).\n\n## How to\n\nClone and install manually, then:\n\n1. `(require 'blake)`\n2. `(blake-two blake-two-big \"abc\")`\n\nTo get the same output as with `b2sum`, serialize the output:\n\n```emacs-lisp\n;; echo -n abc | b2sum\n(string-join (mapcar (lambda (x) (format \"%02x\" x))\n                     (blake-two blake-two-big \"abc\"))\n             \"\")\n```\n\nNote that the implementation is obviously slower than with compiled languages\nand, for example, running an `elisp-manual-21-2.8.tar.gz` (2455995 bytes) with\n`blake-two-big` took astonishing 75s! (40s once byte-compiled) while with\ncoreutils' `b2sum` it took under one second.\n\n```emacs-lisp\n(with-temp-buffer\n  (set-buffer-multibyte nil)\n  (insert-file-contents-literally \"elisp-manual-21-2.8.tar.gz\")\n  (message \"hash: %s\"\n           (string-join (mapcar (lambda (x) (format \"%02x\" x))\n                                (blake-two blake-two-big (buffer-string)))\n                        \"\")))\n```\n\nWhile there might be performance bottlenecks in the current implementation, if\nyou are looking for speed, there are better and safer implementations.\n\n[bmc-badge]: https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee\n[bmc-link]: https://www.buymeacoffee.com/peterbadida\n[ppl-badge]: https://img.shields.io/badge/-paypal-grey?logo=paypal\n[ppl-link]: https://paypal.me/peterbadida\n[lp-badge]: https://img.shields.io/badge/-liberapay-grey?logo=liberapay\n[lp-link]: https://liberapay.com/keyweeusr\n[ci-badge]: https://github.com/KeyWeeUsr/blake/actions/workflows/test.yml/badge.svg\n[ci-workflow]: https://github.com/KeyWeeUsr/blake/actions/workflows/test.yml\n[cover-badge]: https://coveralls.io/repos/github/KeyWeeUsr/blake/badge.svg?branch=master\n[cover-link]: https://coveralls.io/github/KeyWeeUsr/blake?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyweeusr%2Fblake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyweeusr%2Fblake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyweeusr%2Fblake/lists"}