{"id":19282669,"url":"https://github.com/klappdev/jefl","last_synced_at":"2026-05-09T16:06:38.540Z","repository":{"id":48168353,"uuid":"516659529","full_name":"klappdev/jefl","owner":"klappdev","description":"Java native erase library","archived":false,"fork":false,"pushed_at":"2023-02-26T13:45:14.000Z","size":6874,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T11:02:09.405Z","etag":null,"topics":["cpp","cpp20","cpp23","erasing","filesystem","java","jni-java"],"latest_commit_sha":null,"homepage":"","language":"C++","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/klappdev.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":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-22T07:49:24.000Z","updated_at":"2022-11-10T20:08:43.000Z","dependencies_parsed_at":"2024-11-09T21:28:28.079Z","dependency_job_id":"27b60cf0-6c9b-452a-bfa5-5ddcc466b83c","html_url":"https://github.com/klappdev/jefl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klappdev/jefl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fjefl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fjefl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fjefl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fjefl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klappdev","download_url":"https://codeload.github.com/klappdev/jefl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fjefl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260818504,"owners_count":23067724,"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":["cpp","cpp20","cpp23","erasing","filesystem","java","jni-java"],"created_at":"2024-11-09T21:27:56.442Z","updated_at":"2025-10-13T23:22:53.417Z","avatar_url":"https://github.com/klappdev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jefl\n\nThis is simple Java library for secure erase files.\n\nWhen we remove file, remove only name file but content file stay exist. \u003cbr/\u003e\nSometimes we want that file content can not be recovery again.\n\nFor secure erase file used next steps:\n\n    \u003e overwrite content file\n    \u003e truncate file \n    \u003e random rename file\n    \u003e delete file\n  \nThere are the following methods of overwrite content file:\n\n    \u003e Simple  method - overwrite 1 pass 0x00 bytes\n    \u003e DOE     method - overwrite 3 pass random, random, \"DoE\"\n    \u003e RCMP    method - overwrite 3 pass 0x00 ,0xFF, \"RCMP\"\n    \u003e OPENBSD method - overwrite 3 pass 0xFF, 0x00, 0xFF bytes\n    \u003e DOD     method - overwrite 7 pass \n    \u003e Gutmann method - overwrite 35 pass\n\nUsing this library developer can erase files in the following way.\n\n```Java\n  native boolean eraseFile(String path) throws EraseException;\n\t\n  native boolean eraseFile(String path, OverwrideMode mode) throws EraseException;\n\t\n  native boolean eraseFiles(String... paths) throws EraseException;\n\t\n  native boolean eraseFiles(OverwrideMode mode, String... paths) throws EraseException;\n\t\n  native boolean eraseDirectory(String path, boolean recur) throws EraseException;\n\t\n  native boolean eraseDirectory(String path, OverwrideMode mode, boolean recur) throws EraseException;\n```\nVerified:\u003cbr/\u003e\nStatic  analizer: clang-tidy  \u003cbr/\u003e\nDynamic analizer: valgrind    \u003cbr/\u003e\n\nRequirements:\u003cbr/\u003e\nJava min version: 11  \u003cbr/\u003e\nC++  min version: 20 \u003cbr/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklappdev%2Fjefl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklappdev%2Fjefl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklappdev%2Fjefl/lists"}