{"id":13932999,"url":"https://github.com/derivepass/dumb-crypto","last_synced_at":"2025-07-19T16:32:28.868Z","repository":{"id":57622258,"uuid":"164201357","full_name":"derivepass/dumb-crypto","owner":"derivepass","description":"Dumb, but easily verifiable implementations of crypto algorithms","archived":false,"fork":false,"pushed_at":"2019-02-17T21:27:31.000Z","size":55,"stargazers_count":144,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-26T15:04:17.335Z","etag":null,"topics":["cryptography","dumb"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derivepass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-05T09:39:09.000Z","updated_at":"2025-06-19T04:00:01.000Z","dependencies_parsed_at":"2022-09-21T01:41:20.105Z","dependency_job_id":null,"html_url":"https://github.com/derivepass/dumb-crypto","commit_stats":null,"previous_names":["indutny/dumb-crypto"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/derivepass/dumb-crypto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivepass%2Fdumb-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivepass%2Fdumb-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivepass%2Fdumb-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivepass%2Fdumb-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derivepass","download_url":"https://codeload.github.com/derivepass/dumb-crypto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derivepass%2Fdumb-crypto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265145681,"owners_count":23718073,"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","dumb"],"created_at":"2024-08-07T21:01:27.883Z","updated_at":"2025-07-19T16:32:28.480Z","avatar_url":"https://github.com/derivepass.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# dumb-crypto\n[![Build Status](https://secure.travis-ci.org/indutny/dumb-crypto.svg)](http://travis-ci.org/indutny/dumb-crypto)\n[![Latest version](https://img.shields.io/crates/v/dumb-crypto.svg)](https://crates.io/crates/dumb-crypto)\n[![Documentation](https://docs.rs/dumb-crypto/badge.svg)][docs]\n![License](https://img.shields.io/crates/l/dumb-crypto.svg)\n\nThis library implements following cryptographic routines in the dumbest and\nthe most obvious way:\n\n- sha256\n- hmac-sha256\n- pbkdf2-sha256\n- salsa20\n- scrypt\n\n## Why?\n\nNormally, one would find a highly optimized code implementing those.\nHowever, verifying such code is a non-trivial task. All routines (except for\nscrypt itself) are pre-requisites for scrypt, and a provided just for\nconvenience.\n\n## Quick example\n\n```rust\nextern crate dumb_crypto;\n\nuse::dumb_crypto::scrypt::Scrypt;\n\nlet scrypt = Scrypt::new(1, 128, 1);\n\nlet mut out: [u8; 8] = [0; 8];\n\nscrypt.derive(b\"passphrase\", b\"salt\", \u0026mut out);\n\nassert_eq!(out.to_vec(), vec![\n    79, 35, 225, 99, 145, 145, 172, 245,\n]);\n```\n\n## Using dumb-crypto\n\nSee [documentation][docs] for details.\n\n[docs]: https://docs.rs/dumb-crypto\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderivepass%2Fdumb-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderivepass%2Fdumb-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderivepass%2Fdumb-crypto/lists"}