{"id":15167183,"url":"https://github.com/rndoom04/encryptor","last_synced_at":"2026-01-20T13:33:44.845Z","repository":{"id":57047307,"uuid":"465253899","full_name":"Rndoom04/encryptor","owner":"Rndoom04","description":"Encryption and decryption PHP library.","archived":false,"fork":false,"pushed_at":"2022-03-02T14:07:20.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T05:13:39.747Z","etag":null,"topics":["decrypt","decryption","encrypt","encryption","encryption-decryption","nette","nette-framework","openssl","php","php-library","php7","security"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/Rndoom04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-02T10:14:41.000Z","updated_at":"2022-03-02T11:15:15.000Z","dependencies_parsed_at":"2022-08-23T19:00:21.970Z","dependency_job_id":null,"html_url":"https://github.com/Rndoom04/encryptor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"Rndoom04/library-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rndoom04%2Fencryptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rndoom04%2Fencryptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rndoom04%2Fencryptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rndoom04%2Fencryptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rndoom04","download_url":"https://codeload.github.com/Rndoom04/encryptor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980843,"owners_count":21027808,"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":["decrypt","decryption","encrypt","encryption","encryption-decryption","nette","nette-framework","openssl","php","php-library","php7","security"],"created_at":"2024-09-27T05:41:04.860Z","updated_at":"2026-01-20T13:33:44.808Z","avatar_url":"https://github.com/Rndoom04.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"ENCRYPTION AND DECRYPTION\n=============\n\nCompatible with PHP \u003e= 7.0.\n\n## Install\n\nFor PHP version **`\u003e= 7.0`**:\n\n```\ncomposer require Rndoom04/encryptor\n```\n\n## How to use it\n\nFirstly init the library by simply \"use\".\n\n```\nuse Rndoom04\\encryptor;\n```\n\nLoad the library and let's encrypt.\n```\n$string_to_test = \"Hello this is a text to encrypt.\";\n$encryptor = new \\Rndoom04\\encryptor\\encryptor();\n$encryptor-\u003esetKey(\"my-secret-key\"); // Set key\n\n$encrypted_string = $encryptor-\u003eencrypt($string_to_test); // Return encrypted string\n$decrypted_string = $encryptor-\u003edecrypt($encrypted_string); // Encrypted string you can decrypt back to plain string\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frndoom04%2Fencryptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frndoom04%2Fencryptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frndoom04%2Fencryptor/lists"}