{"action":"created","comment":{"url":"https://api.github.com/repos/defuse/php-encryption/pulls/comments/59108092","id":59108092,"diff_hunk":"@@ -277,12 +263,12 @@ public static function encryptResource($inputHandle, $outputHandle, Key $key)\n          * How much do we increase the counter after each buffered encryption to","path":"src/File.php","position":359,"original_position":88,"commit_id":"567fde674d93c74b5e73a9d7cc29d5236e4e0538","original_commit_id":"47ed7f5edca218a71bdfc75409654317ef271bd0","user":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"body":"Just above this line (github won't let me add a comment) there's another comment that says \"We operate on $thisIv using a hash-based PRF derived from the initial IV for the first block.\" I have no idea what that means.","created_at":"2016-04-09T01:53:40Z","updated_at":"2016-04-09T01:53:40Z","html_url":"https://github.com/defuse/php-encryption/pull/212#discussion_r59108092","pull_request_url":"https://api.github.com/repos/defuse/php-encryption/pulls/212","_links":{"self":{"href":"https://api.github.com/repos/defuse/php-encryption/pulls/comments/59108092"},"html":{"href":"https://github.com/defuse/php-encryption/pull/212#discussion_r59108092"},"pull_request":{"href":"https://api.github.com/repos/defuse/php-encryption/pulls/212"}}},"pull_request":{"url":"https://api.github.com/repos/defuse/php-encryption/pulls/212","id":65407506,"html_url":"https://github.com/defuse/php-encryption/pull/212","diff_url":"https://github.com/defuse/php-encryption/pull/212.diff","patch_url":"https://github.com/defuse/php-encryption/pull/212.patch","issue_url":"https://api.github.com/repos/defuse/php-encryption/issues/212","number":212,"state":"open","locked":false,"title":"Make file and crypto compatible and lots of other stuff","user":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"body":"Supersedes #197.","created_at":"2016-04-06T04:08:03Z","updated_at":"2016-04-09T01:53:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40377909c0d4480371565764d871decc104298bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/defuse/php-encryption/pulls/212/commits","review_comments_url":"https://api.github.com/repos/defuse/php-encryption/pulls/212/comments","review_comment_url":"https://api.github.com/repos/defuse/php-encryption/pulls/comments{/number}","comments_url":"https://api.github.com/repos/defuse/php-encryption/issues/212/comments","statuses_url":"https://api.github.com/repos/defuse/php-encryption/statuses/567fde674d93c74b5e73a9d7cc29d5236e4e0538","head":{"label":"defuse:make-file-crypto-compatible.1","ref":"make-file-crypto-compatible.1","sha":"567fde674d93c74b5e73a9d7cc29d5236e4e0538","user":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"repo":{"id":16571051,"name":"php-encryption","full_name":"defuse/php-encryption","owner":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/defuse/php-encryption","description":"Simple Encryption in PHP.","fork":false,"url":"https://api.github.com/repos/defuse/php-encryption","forks_url":"https://api.github.com/repos/defuse/php-encryption/forks","keys_url":"https://api.github.com/repos/defuse/php-encryption/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defuse/php-encryption/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defuse/php-encryption/teams","hooks_url":"https://api.github.com/repos/defuse/php-encryption/hooks","issue_events_url":"https://api.github.com/repos/defuse/php-encryption/issues/events{/number}","events_url":"https://api.github.com/repos/defuse/php-encryption/events","assignees_url":"https://api.github.com/repos/defuse/php-encryption/assignees{/user}","branches_url":"https://api.github.com/repos/defuse/php-encryption/branches{/branch}","tags_url":"https://api.github.com/repos/defuse/php-encryption/tags","blobs_url":"https://api.github.com/repos/defuse/php-encryption/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defuse/php-encryption/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defuse/php-encryption/git/refs{/sha}","trees_url":"https://api.github.com/repos/defuse/php-encryption/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defuse/php-encryption/statuses/{sha}","languages_url":"https://api.github.com/repos/defuse/php-encryption/languages","stargazers_url":"https://api.github.com/repos/defuse/php-encryption/stargazers","contributors_url":"https://api.github.com/repos/defuse/php-encryption/contributors","subscribers_url":"https://api.github.com/repos/defuse/php-encryption/subscribers","subscription_url":"https://api.github.com/repos/defuse/php-encryption/subscription","commits_url":"https://api.github.com/repos/defuse/php-encryption/commits{/sha}","git_commits_url":"https://api.github.com/repos/defuse/php-encryption/git/commits{/sha}","comments_url":"https://api.github.com/repos/defuse/php-encryption/comments{/number}","issue_comment_url":"https://api.github.com/repos/defuse/php-encryption/issues/comments{/number}","contents_url":"https://api.github.com/repos/defuse/php-encryption/contents/{+path}","compare_url":"https://api.github.com/repos/defuse/php-encryption/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defuse/php-encryption/merges","archive_url":"https://api.github.com/repos/defuse/php-encryption/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defuse/php-encryption/downloads","issues_url":"https://api.github.com/repos/defuse/php-encryption/issues{/number}","pulls_url":"https://api.github.com/repos/defuse/php-encryption/pulls{/number}","milestones_url":"https://api.github.com/repos/defuse/php-encryption/milestones{/number}","notifications_url":"https://api.github.com/repos/defuse/php-encryption/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defuse/php-encryption/labels{/name}","releases_url":"https://api.github.com/repos/defuse/php-encryption/releases{/id}","deployments_url":"https://api.github.com/repos/defuse/php-encryption/deployments","created_at":"2014-02-06T06:47:32Z","updated_at":"2016-04-08T06:48:58Z","pushed_at":"2016-04-07T02:33:55Z","git_url":"git://github.com/defuse/php-encryption.git","ssh_url":"git@github.com:defuse/php-encryption.git","clone_url":"https://github.com/defuse/php-encryption.git","svn_url":"https://github.com/defuse/php-encryption","homepage":null,"size":12865,"stargazers_count":630,"watchers_count":630,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":23,"forks":93,"open_issues":23,"watchers":630,"default_branch":"master"}},"base":{"label":"defuse:v2.0","ref":"v2.0","sha":"ae7c837cf874a1a9be2f9b3497ebb99faf21a23a","user":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"repo":{"id":16571051,"name":"php-encryption","full_name":"defuse/php-encryption","owner":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/defuse/php-encryption","description":"Simple Encryption in PHP.","fork":false,"url":"https://api.github.com/repos/defuse/php-encryption","forks_url":"https://api.github.com/repos/defuse/php-encryption/forks","keys_url":"https://api.github.com/repos/defuse/php-encryption/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defuse/php-encryption/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defuse/php-encryption/teams","hooks_url":"https://api.github.com/repos/defuse/php-encryption/hooks","issue_events_url":"https://api.github.com/repos/defuse/php-encryption/issues/events{/number}","events_url":"https://api.github.com/repos/defuse/php-encryption/events","assignees_url":"https://api.github.com/repos/defuse/php-encryption/assignees{/user}","branches_url":"https://api.github.com/repos/defuse/php-encryption/branches{/branch}","tags_url":"https://api.github.com/repos/defuse/php-encryption/tags","blobs_url":"https://api.github.com/repos/defuse/php-encryption/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defuse/php-encryption/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defuse/php-encryption/git/refs{/sha}","trees_url":"https://api.github.com/repos/defuse/php-encryption/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defuse/php-encryption/statuses/{sha}","languages_url":"https://api.github.com/repos/defuse/php-encryption/languages","stargazers_url":"https://api.github.com/repos/defuse/php-encryption/stargazers","contributors_url":"https://api.github.com/repos/defuse/php-encryption/contributors","subscribers_url":"https://api.github.com/repos/defuse/php-encryption/subscribers","subscription_url":"https://api.github.com/repos/defuse/php-encryption/subscription","commits_url":"https://api.github.com/repos/defuse/php-encryption/commits{/sha}","git_commits_url":"https://api.github.com/repos/defuse/php-encryption/git/commits{/sha}","comments_url":"https://api.github.com/repos/defuse/php-encryption/comments{/number}","issue_comment_url":"https://api.github.com/repos/defuse/php-encryption/issues/comments{/number}","contents_url":"https://api.github.com/repos/defuse/php-encryption/contents/{+path}","compare_url":"https://api.github.com/repos/defuse/php-encryption/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defuse/php-encryption/merges","archive_url":"https://api.github.com/repos/defuse/php-encryption/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defuse/php-encryption/downloads","issues_url":"https://api.github.com/repos/defuse/php-encryption/issues{/number}","pulls_url":"https://api.github.com/repos/defuse/php-encryption/pulls{/number}","milestones_url":"https://api.github.com/repos/defuse/php-encryption/milestones{/number}","notifications_url":"https://api.github.com/repos/defuse/php-encryption/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defuse/php-encryption/labels{/name}","releases_url":"https://api.github.com/repos/defuse/php-encryption/releases{/id}","deployments_url":"https://api.github.com/repos/defuse/php-encryption/deployments","created_at":"2014-02-06T06:47:32Z","updated_at":"2016-04-08T06:48:58Z","pushed_at":"2016-04-07T02:33:55Z","git_url":"git://github.com/defuse/php-encryption.git","ssh_url":"git@github.com:defuse/php-encryption.git","clone_url":"https://github.com/defuse/php-encryption.git","svn_url":"https://github.com/defuse/php-encryption","homepage":null,"size":12865,"stargazers_count":630,"watchers_count":630,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":23,"forks":93,"open_issues":23,"watchers":630,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/defuse/php-encryption/pulls/212"},"html":{"href":"https://github.com/defuse/php-encryption/pull/212"},"issue":{"href":"https://api.github.com/repos/defuse/php-encryption/issues/212"},"comments":{"href":"https://api.github.com/repos/defuse/php-encryption/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/defuse/php-encryption/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/defuse/php-encryption/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/defuse/php-encryption/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/defuse/php-encryption/statuses/567fde674d93c74b5e73a9d7cc29d5236e4e0538"}}}}