{"id":22820142,"url":"https://github.com/kizzycode/crypto_api_blake2","last_synced_at":"2025-03-30T23:16:35.195Z","repository":{"id":57613555,"uuid":"175639913","full_name":"KizzyCode/crypto_api_blake2","owner":"KizzyCode","description":"Implements Blake2b for `crypto_api`","archived":false,"fork":false,"pushed_at":"2021-10-15T00:41:37.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T12:53:00.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KizzyCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE BSD 2-CLAUSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-14T14:36:45.000Z","updated_at":"2021-10-15T00:41:39.000Z","dependencies_parsed_at":"2022-08-30T00:01:39.024Z","dependency_job_id":null,"html_url":"https://github.com/KizzyCode/crypto_api_blake2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_blake2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_blake2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_blake2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_blake2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KizzyCode","download_url":"https://codeload.github.com/KizzyCode/crypto_api_blake2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"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":[],"created_at":"2024-12-12T15:16:36.333Z","updated_at":"2025-03-30T23:16:35.170Z","avatar_url":"https://github.com/KizzyCode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![docs.rs](https://docs.rs/crypto_api_blake2/badge.svg)](https://docs.rs/crypto_api_blake2)\n[![License BSD-2-Clause](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)\n[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![crates.io](https://img.shields.io/crates/v/crypto_api_blake2.svg)](https://crates.io/crates/crypto_api_blake2)\n[![Download numbers](https://img.shields.io/crates/d/crypto_api_blake2.svg)](https://crates.io/crates/crypto_api_blake2)\n[![AppVeyor CI](https://ci.appveyor.com/api/projects/status/github/KizzyCode/crypto_api_blake2?svg=true)](https://ci.appveyor.com/project/KizzyCode/crypto-api-blake2)\n[![dependency status](https://deps.rs/crate/crypto_api_blake2/0.2.0/status.svg)](https://deps.rs/crate/crypto_api_blake2/0.2.0)\n\n\n# crypto_api_blake2\nWelcome to `crypto_api_blake2` 🎉\n\n\n## About\nThis crate implements [Blake2b](https://blake2.net/blake2.pdf) with APIs for various use-cases:\n - Streaming and oneshot variable length hash algorithm (obviously)\n - Streaming and oneshot message authentication code (= keyed hash with secure finalization to\n   prevent [length extension attacks](https://en.wikipedia.org/wiki/Length_extension_attack))\n - Salt- and info-based KDF\n\n\n## Security\n⚠️ Some words of warning ahead: This library is beta and has not been audited yet – use at your\nown risk! ⚠️\n\nHowever we try to do things right from the start – this library is\n[KISS](https://en.wikipedia.org/wiki/KISS_principle) and tested against various test vectors.\n\n### Test Vectors\nAll implementations pass all reference test vectors and are assumed to produce correct results even\nin corner cases – we also use API test vectors to test our input validation.\n\n### Memory Hygiene\n`crypto_api_blake2` does not perform any attempts to erase sensitive contents from memory. However,\nall sensitive contents are stored in heap-allocated memory, so if you're using an erasing\nmemory-allocator like [MAProper](https://crates.io/crates/ma_proper) they will be erased nontheless.\n\nUsing an erasing memory allocator is a good idea anyway, because Rust makes it pretty hard to keep\ntrack on how the memory is managed under the hood – the memory allocator on the other hand sees\neverything that happens on the heap and can take care of it accordingly.\n\n\n## Dependencies\nBecause this code implements the [`crypto_api`](https://github.com/KizzyCode/crypto_api), it depends\non the `crypto_api`-crate. Otherwise, it's dependency less.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fcrypto_api_blake2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkizzycode%2Fcrypto_api_blake2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fcrypto_api_blake2/lists"}