{"id":17087864,"url":"https://github.com/geraintluff/protect","last_synced_at":"2025-08-04T12:05:27.562Z","repository":{"id":247750565,"uuid":"826749786","full_name":"geraintluff/protect","owner":"geraintluff","description":"Password-protect files (Balloon hash + AES-GCM), with offline encode/decode","archived":false,"fork":false,"pushed_at":"2024-09-20T08:01:49.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T21:18:19.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://geraintluff.github.io/protect/","language":"JavaScript","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/geraintluff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.txt","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-10T09:53:30.000Z","updated_at":"2024-09-20T08:01:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f46b808-6ba2-4cbf-8281-444419fe6fae","html_url":"https://github.com/geraintluff/protect","commit_stats":null,"previous_names":["geraintluff/protect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fprotect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fprotect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fprotect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraintluff%2Fprotect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geraintluff","download_url":"https://codeload.github.com/geraintluff/protect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245119592,"owners_count":20563763,"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-10-14T13:35:12.008Z","updated_at":"2025-03-23T15:16:33.059Z","avatar_url":"https://github.com/geraintluff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Protect: \n\nEncrypt (multiple) files in-browser, using Balloon hashing to generate a key for AES-GCM.  The results can be downloaded as self-contained HTML files.\n\nNeither the encryption nor the resulting HTML send anything over the network, and can be used offline as local files.  Video/audio/images and text files are displayed in the browser once decrypted, so you don't have to download a copy to view them.\n\nThe `Makefile` generates the minified JS and self-contained (single-file) encoder versions.\n\n## Encryption\n\nThe balloon hash uses a custom SHA-256 implementation (tested against a reference), rather than the `crypto.subtle` one, because the Promise-based interface of that add a delay to each hash.  The AES encryption is done with `crypto.subtle` though.\n\nThe balloon hash makes it slower to brute-force a bunch of passwords\n\n## Why?\n\nSometimes I want to keep an offline/remote copy of important info (tax/ID stuff, recovery codes, etc.) and it's reassuring to have an extra layer of protection when if it's sitting somewhere less secure (like my Documents folder).\n\nAnd also because it's fun.\n\n## License \u0026 support\n\n[MIT License](LICENSE.txt), [SUPPORT.txt](SUPPORT.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraintluff%2Fprotect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeraintluff%2Fprotect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraintluff%2Fprotect/lists"}