{"id":20671124,"url":"https://github.com/allnulled/criptador","last_synced_at":"2025-08-15T20:33:03.998Z","repository":{"id":98546520,"uuid":"461352454","full_name":"allnulled/criptador","owner":"allnulled","description":"Encrypt and decrypt text or files massively, simply and effortlessly. For both, node.js and browser.","archived":false,"fork":false,"pushed_at":"2022-02-28T02:42:16.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T03:59:28.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/allnulled.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-02-20T01:04:43.000Z","updated_at":"2023-03-03T23:36:42.000Z","dependencies_parsed_at":"2023-05-29T11:30:35.921Z","dependency_job_id":null,"html_url":"https://github.com/allnulled/criptador","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"f83bc28309c778c339a184f59ad589efeaba5f3e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/allnulled/criptador","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fcriptador","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fcriptador/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fcriptador/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fcriptador/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allnulled","download_url":"https://codeload.github.com/allnulled/criptador/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fcriptador/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269693449,"owners_count":24460226,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-16T20:25:17.028Z","updated_at":"2025-08-15T20:33:03.958Z","avatar_url":"https://github.com/allnulled.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# criptador\n\nEncrypt and decrypt text or files massively, simply and effortlessly. For both, node.js and browser.\n\n## Installation\n\n`$ npm i -d criptador`\n\n## Usage\n\n### From CLI\n\n```sh\n$ criptador\n    # Required:\n    --command encrypt # or decrypt\n    --password \"some specific key\"\n    --file . # you can sppecify a directory\n    --file file1.txt # ...or multiple files\n    --file file2.txt # ...all at once\n    # Optional:\n    --filepattern '\\\\.js$' # Regex for files to match\n    --verbose # Will list the transformed files\n```\n\n### From API\n\n```js\nconst Criptador = require(\"criptador\");\n\n// For text:\nconst encrypted = Criptador.encrypt(\"Text to encrypt\", \"key to use\"); // ...returns: weird characters...\nconst decrypted = Criptador.decrypt(encrypted, \"key to use\"); // ...returns: \"Text to encrypt\"\n\n// For files:\nCriptador.encryptFiles(__dirname + \"/src\", \"key to use\", \"\\\\.js$\");\nCriptador.decryptFiles(__dirname + \"/src\", \"key to use\", \"\\\\.js$\");\nCriptador.encryptFiles(__dirname + \"/src/file1.txt\", \"key to use\", \"\\\\.js$\");\nCriptador.encryptFiles(__dirname + \"/src/file2.txt\", \"key to use\", \"\\\\.js$\");\nCriptador.encryptFiles(__dirname + \"/src/file3.txt\", \"key to use\", \"\\\\.js$\");\nCriptador.encryptFiles(__dirname + \"/src/file3.txt\", \"key to use\", \"\\\\.js$\", !!\"isVerbose\");\n```\n\n## Notes\n\nAll the API is synchronous, so it is not though for production environments.\n\n## License\n\nNo license. Free.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fcriptador","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallnulled%2Fcriptador","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fcriptador/lists"}