{"id":15853409,"url":"https://github.com/xtuc/symfony2-password-encoder","last_synced_at":"2026-02-11T08:02:48.639Z","repository":{"id":65989972,"uuid":"55867021","full_name":"xtuc/Symfony2-password-encoder","owner":"xtuc","description":"Obviously more secure that plaintext passwords","archived":false,"fork":false,"pushed_at":"2016-04-09T21:20:22.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T00:39:15.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/xtuc.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-04-09T21:07:35.000Z","updated_at":"2018-06-07T17:48:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e1d2719-e8c8-4efd-9708-95a96daf875e","html_url":"https://github.com/xtuc/Symfony2-password-encoder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xtuc/Symfony2-password-encoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2FSymfony2-password-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2FSymfony2-password-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2FSymfony2-password-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2FSymfony2-password-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtuc","download_url":"https://codeload.github.com/xtuc/Symfony2-password-encoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2FSymfony2-password-encoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-05T19:20:25.788Z","updated_at":"2026-02-11T08:02:48.635Z","avatar_url":"https://github.com/xtuc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Double ROT13 password encoder\n\nThe encoder uses two iterations for more security.\n\nsrc/AcmeBundle/Security/DoubleRot13Encoder.php :\n```PHP\n\u003c?php\n\nnamespace AcmeBundle\\Security;\n\nuse Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface;\n\nclass DoubleRot13Encoder implements PasswordEncoderInterface\n{\n    public function encodePassword($raw, $salt)\n    {\n        return str_rot13(str_rot13($raw));\n    }\n\n    public function isPasswordValid($encoded, $raw, $salt)\n    {\n        return $encoded === str_rot13(str_rot13($raw));\n    }\n}\n```\n\nTo be able to use, you need to register the encoder as a service.\n\nservices.yml :\n```yaml\nservices:\n  …\n  encoder:\n    class: AcmeBundle\\Security\\DoubleRot13Encoder\n```\n\nAnd update your security configuration.\n\nsecurity.yml :\n```yaml\nsecurity:\n  …\n  encoders:\n    AcmeBundle\\Entity\\User:\n        id: encoder\n```\n\nDisclaimer: don't use it for production unless you're using plaintext passwords…\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuc%2Fsymfony2-password-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtuc%2Fsymfony2-password-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuc%2Fsymfony2-password-encoder/lists"}