{"action":"opened","issue":{"url":"https://api.github.com/repos/DanielRuf/secure-shred/issues/4","repository_url":"https://api.github.com/repos/DanielRuf/secure-shred","labels_url":"https://api.github.com/repos/DanielRuf/secure-shred/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/DanielRuf/secure-shred/issues/4/comments","events_url":"https://api.github.com/repos/DanielRuf/secure-shred/issues/4/events","html_url":"https://github.com/DanielRuf/secure-shred/issues/4","id":394241168,"node_id":"MDU6SXNzdWUzOTQyNDExNjg=","number":4,"title":"PHP ^5.3 seems to be supported, but ^7.1 is required in Composer?","user":{"login":"meitar","id":18677,"node_id":"MDQ6VXNlcjE4Njc3","avatar_url":"https://avatars2.githubusercontent.com/u/18677?v=4","gravatar_id":"","url":"https://api.github.com/users/meitar","html_url":"https://github.com/meitar","followers_url":"https://api.github.com/users/meitar/followers","following_url":"https://api.github.com/users/meitar/following{/other_user}","gists_url":"https://api.github.com/users/meitar/gists{/gist_id}","starred_url":"https://api.github.com/users/meitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meitar/subscriptions","organizations_url":"https://api.github.com/users/meitar/orgs","repos_url":"https://api.github.com/users/meitar/repos","events_url":"https://api.github.com/users/meitar/events{/privacy}","received_events_url":"https://api.github.com/users/meitar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-26T21:05:13Z","updated_at":"2018-12-26T21:05:13Z","closed_at":null,"author_association":"NONE","body":"According to the project's `composer.json` file, PHP 7.1 or greater is required, but I can't seem to find anything in the `src/Shred.php` file that actually requires this. I have also tested this library using PHP 5.5.9 and, save for the call to `random_bytes()`, it will still work.\r\n\r\nThus, my question: if I polyfill the calls to the `random_*()` functions (for example, with the [`paragonie/random_compat`](https://github.com/paragonie/random_compat) library), is there any immediate danger in using this library while running older PHP versions?\r\n\r\nEven more specifically: I am interested in utilizing this library for a WordPress plugin. WordPress ships the above-mentioned `random_compat` library. Therefore, it seems I can use this in my project, as long as PHP 5.3 or greater is used. Is this correct?"}}
{"actor":{"display_login":"meitar"}}