{"id":19348585,"url":"https://github.com/cryptogladi/file-hashing","last_synced_at":"2025-04-22T23:25:48.960Z","repository":{"id":62702962,"uuid":"561394387","full_name":"CryptoGladi/file-hashing","owner":"CryptoGladi","description":"Library for hashing files and folder","archived":false,"fork":false,"pushed_at":"2022-12-22T11:34:40.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T15:16:54.984Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CryptoGladi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-03T15:41:37.000Z","updated_at":"2024-12-15T00:24:21.000Z","dependencies_parsed_at":"2023-01-30T07:46:20.883Z","dependency_job_id":null,"html_url":"https://github.com/CryptoGladi/file-hashing","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoGladi%2Ffile-hashing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoGladi%2Ffile-hashing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoGladi%2Ffile-hashing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptoGladi%2Ffile-hashing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CryptoGladi","download_url":"https://codeload.github.com/CryptoGladi/file-hashing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457989,"owners_count":19804489,"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-11-10T04:21:41.810Z","updated_at":"2025-02-24T10:18:08.223Z","avatar_url":"https://github.com/CryptoGladi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file-hashing\n\nThis crate will help you easily get hash from **files** or **folders**\n\n# Example\n\n```rust\nlet path = PathBuf::from(\"/home/gladi/test-hashing.txt\");\n\nlet mut hash = Blake2s256::new();\nlet result = get_hash_file(\u0026path, \u0026mut hash).unwrap();\n\nassert_eq!(result.len(), 64); // Blake2s256 len == 64\n```\n\n\u003e P.S. If the examples from the documentation **do not work**, then you need to look at the **unit tests**\n\n# Motivation\n\nEach time we write our own function to get the hash from a file or folder.\nWe repeat ourselves and violate the [DRY](https://en.wikipedia.org/wiki/Don't_repeat_yourself) principle.\nWith this crate you can save a couple of hours\n\nLicense: **MIT**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptogladi%2Ffile-hashing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptogladi%2Ffile-hashing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptogladi%2Ffile-hashing/lists"}