{"action":"created","comment":{"url":"https://api.github.com/repos/luckymark/CCpp2016/pulls/comments/57117508","id":57117508,"diff_hunk":"@@ -0,0 +1,42 @@\n+#include <cstdio>\n+#include <iostream>\n+#define KEY 101\n+using namespace std;\n+void DcruptFunction(istream& In);","path":"practices/level1/p07_encrypt_decrypt/encrypt_decrypt.cpp","position":5,"original_position":5,"commit_id":"c94a7f08ad12b43f8bf8e5226aa1ad66c733602a","original_commit_id":"c94a7f08ad12b43f8bf8e5226aa1ad66c733602a","user":{"login":"luckymark","id":2027200,"avatar_url":"https://avatars.githubusercontent.com/u/2027200?v=3","gravatar_id":"","url":"https://api.github.com/users/luckymark","html_url":"https://github.com/luckymark","followers_url":"https://api.github.com/users/luckymark/followers","following_url":"https://api.github.com/users/luckymark/following{/other_user}","gists_url":"https://api.github.com/users/luckymark/gists{/gist_id}","starred_url":"https://api.github.com/users/luckymark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckymark/subscriptions","organizations_url":"https://api.github.com/users/luckymark/orgs","repos_url":"https://api.github.com/users/luckymark/repos","events_url":"https://api.github.com/users/luckymark/events{/privacy}","received_events_url":"https://api.github.com/users/luckymark/received_events","type":"User","site_admin":false},"body":"一般不直接加密输入输出流，而是加密字符串，这样可复用性好很多","created_at":"2016-03-23T07:09:00Z","updated_at":"2016-03-23T07:09:00Z","html_url":"https://github.com/luckymark/CCpp2016/pull/10#discussion_r57117508","pull_request_url":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/luckymark/CCpp2016/pulls/comments/57117508"},"html":{"href":"https://github.com/luckymark/CCpp2016/pull/10#discussion_r57117508"},"pull_request":{"href":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10","id":61392308,"html_url":"https://github.com/luckymark/CCpp2016/pull/10","diff_url":"https://github.com/luckymark/CCpp2016/pull/10.diff","patch_url":"https://github.com/luckymark/CCpp2016/pull/10.patch","issue_url":"https://api.github.com/repos/luckymark/CCpp2016/issues/10","number":10,"state":"open","locked":false,"title":"First Homework From xionglinlin","user":{"login":"Akemi-Homura","id":16780053,"avatar_url":"https://avatars.githubusercontent.com/u/16780053?v=3","gravatar_id":"","url":"https://api.github.com/users/Akemi-Homura","html_url":"https://github.com/Akemi-Homura","followers_url":"https://api.github.com/users/Akemi-Homura/followers","following_url":"https://api.github.com/users/Akemi-Homura/following{/other_user}","gists_url":"https://api.github.com/users/Akemi-Homura/gists{/gist_id}","starred_url":"https://api.github.com/users/Akemi-Homura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akemi-Homura/subscriptions","organizations_url":"https://api.github.com/users/Akemi-Homura/orgs","repos_url":"https://api.github.com/users/Akemi-Homura/repos","events_url":"https://api.github.com/users/Akemi-Homura/events{/privacy}","received_events_url":"https://api.github.com/users/Akemi-Homura/received_events","type":"User","site_admin":false},"body":"problem 01-04","created_at":"2016-03-02T12:22:49Z","updated_at":"2016-03-23T07:09:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5311e1a4c466cb8fdf0fec96fd29d2cfc0395eae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10/commits","review_comments_url":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10/comments","review_comment_url":"https://api.github.com/repos/luckymark/CCpp2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/luckymark/CCpp2016/issues/10/comments","statuses_url":"https://api.github.com/repos/luckymark/CCpp2016/statuses/c94a7f08ad12b43f8bf8e5226aa1ad66c733602a","head":{"label":"Akemi-Homura:master","ref":"master","sha":"c94a7f08ad12b43f8bf8e5226aa1ad66c733602a","user":{"login":"Akemi-Homura","id":16780053,"avatar_url":"https://avatars.githubusercontent.com/u/16780053?v=3","gravatar_id":"","url":"https://api.github.com/users/Akemi-Homura","html_url":"https://github.com/Akemi-Homura","followers_url":"https://api.github.com/users/Akemi-Homura/followers","following_url":"https://api.github.com/users/Akemi-Homura/following{/other_user}","gists_url":"https://api.github.com/users/Akemi-Homura/gists{/gist_id}","starred_url":"https://api.github.com/users/Akemi-Homura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akemi-Homura/subscriptions","organizations_url":"https://api.github.com/users/Akemi-Homura/orgs","repos_url":"https://api.github.com/users/Akemi-Homura/repos","events_url":"https://api.github.com/users/Akemi-Homura/events{/privacy}","received_events_url":"https://api.github.com/users/Akemi-Homura/received_events","type":"User","site_admin":false},"repo":{"id":52802435,"name":"CCpp2016","full_name":"Akemi-Homura/CCpp2016","owner":{"login":"Akemi-Homura","id":16780053,"avatar_url":"https://avatars.githubusercontent.com/u/16780053?v=3","gravatar_id":"","url":"https://api.github.com/users/Akemi-Homura","html_url":"https://github.com/Akemi-Homura","followers_url":"https://api.github.com/users/Akemi-Homura/followers","following_url":"https://api.github.com/users/Akemi-Homura/following{/other_user}","gists_url":"https://api.github.com/users/Akemi-Homura/gists{/gist_id}","starred_url":"https://api.github.com/users/Akemi-Homura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akemi-Homura/subscriptions","organizations_url":"https://api.github.com/users/Akemi-Homura/orgs","repos_url":"https://api.github.com/users/Akemi-Homura/repos","events_url":"https://api.github.com/users/Akemi-Homura/events{/privacy}","received_events_url":"https://api.github.com/users/Akemi-Homura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Akemi-Homura/CCpp2016","description":"用于C/C++教学","fork":true,"url":"https://api.github.com/repos/Akemi-Homura/CCpp2016","forks_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/forks","keys_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/teams","hooks_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/hooks","issue_events_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/issues/events{/number}","events_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/events","assignees_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/assignees{/user}","branches_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/branches{/branch}","tags_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/tags","blobs_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/statuses/{sha}","languages_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/languages","stargazers_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/stargazers","contributors_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/contributors","subscribers_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/subscribers","subscription_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/subscription","commits_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/contents/{+path}","compare_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/merges","archive_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/downloads","issues_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/issues{/number}","pulls_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/pulls{/number}","milestones_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/milestones{/number}","notifications_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/labels{/name}","releases_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/releases{/id}","deployments_url":"https://api.github.com/repos/Akemi-Homura/CCpp2016/deployments","created_at":"2016-02-29T15:39:03Z","updated_at":"2016-02-29T15:39:04Z","pushed_at":"2016-03-21T08:08:42Z","git_url":"git://github.com/Akemi-Homura/CCpp2016.git","ssh_url":"git@github.com:Akemi-Homura/CCpp2016.git","clone_url":"https://github.com/Akemi-Homura/CCpp2016.git","svn_url":"https://github.com/Akemi-Homura/CCpp2016","homepage":null,"size":266,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"luckymark:master","ref":"master","sha":"33f8f7637b8b8dfbdb4eb5d6f6569d8c024956f4","user":{"login":"luckymark","id":2027200,"avatar_url":"https://avatars.githubusercontent.com/u/2027200?v=3","gravatar_id":"","url":"https://api.github.com/users/luckymark","html_url":"https://github.com/luckymark","followers_url":"https://api.github.com/users/luckymark/followers","following_url":"https://api.github.com/users/luckymark/following{/other_user}","gists_url":"https://api.github.com/users/luckymark/gists{/gist_id}","starred_url":"https://api.github.com/users/luckymark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckymark/subscriptions","organizations_url":"https://api.github.com/users/luckymark/orgs","repos_url":"https://api.github.com/users/luckymark/repos","events_url":"https://api.github.com/users/luckymark/events{/privacy}","received_events_url":"https://api.github.com/users/luckymark/received_events","type":"User","site_admin":false},"repo":{"id":51800900,"name":"CCpp2016","full_name":"luckymark/CCpp2016","owner":{"login":"luckymark","id":2027200,"avatar_url":"https://avatars.githubusercontent.com/u/2027200?v=3","gravatar_id":"","url":"https://api.github.com/users/luckymark","html_url":"https://github.com/luckymark","followers_url":"https://api.github.com/users/luckymark/followers","following_url":"https://api.github.com/users/luckymark/following{/other_user}","gists_url":"https://api.github.com/users/luckymark/gists{/gist_id}","starred_url":"https://api.github.com/users/luckymark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckymark/subscriptions","organizations_url":"https://api.github.com/users/luckymark/orgs","repos_url":"https://api.github.com/users/luckymark/repos","events_url":"https://api.github.com/users/luckymark/events{/privacy}","received_events_url":"https://api.github.com/users/luckymark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luckymark/CCpp2016","description":"用于C/C++教学","fork":false,"url":"https://api.github.com/repos/luckymark/CCpp2016","forks_url":"https://api.github.com/repos/luckymark/CCpp2016/forks","keys_url":"https://api.github.com/repos/luckymark/CCpp2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luckymark/CCpp2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luckymark/CCpp2016/teams","hooks_url":"https://api.github.com/repos/luckymark/CCpp2016/hooks","issue_events_url":"https://api.github.com/repos/luckymark/CCpp2016/issues/events{/number}","events_url":"https://api.github.com/repos/luckymark/CCpp2016/events","assignees_url":"https://api.github.com/repos/luckymark/CCpp2016/assignees{/user}","branches_url":"https://api.github.com/repos/luckymark/CCpp2016/branches{/branch}","tags_url":"https://api.github.com/repos/luckymark/CCpp2016/tags","blobs_url":"https://api.github.com/repos/luckymark/CCpp2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luckymark/CCpp2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luckymark/CCpp2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/luckymark/CCpp2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luckymark/CCpp2016/statuses/{sha}","languages_url":"https://api.github.com/repos/luckymark/CCpp2016/languages","stargazers_url":"https://api.github.com/repos/luckymark/CCpp2016/stargazers","contributors_url":"https://api.github.com/repos/luckymark/CCpp2016/contributors","subscribers_url":"https://api.github.com/repos/luckymark/CCpp2016/subscribers","subscription_url":"https://api.github.com/repos/luckymark/CCpp2016/subscription","commits_url":"https://api.github.com/repos/luckymark/CCpp2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/luckymark/CCpp2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/luckymark/CCpp2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/luckymark/CCpp2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/luckymark/CCpp2016/contents/{+path}","compare_url":"https://api.github.com/repos/luckymark/CCpp2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luckymark/CCpp2016/merges","archive_url":"https://api.github.com/repos/luckymark/CCpp2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luckymark/CCpp2016/downloads","issues_url":"https://api.github.com/repos/luckymark/CCpp2016/issues{/number}","pulls_url":"https://api.github.com/repos/luckymark/CCpp2016/pulls{/number}","milestones_url":"https://api.github.com/repos/luckymark/CCpp2016/milestones{/number}","notifications_url":"https://api.github.com/repos/luckymark/CCpp2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luckymark/CCpp2016/labels{/name}","releases_url":"https://api.github.com/repos/luckymark/CCpp2016/releases{/id}","deployments_url":"https://api.github.com/repos/luckymark/CCpp2016/deployments","created_at":"2016-02-16T02:12:06Z","updated_at":"2016-03-10T00:42:22Z","pushed_at":"2016-03-23T05:31:09Z","git_url":"git://github.com/luckymark/CCpp2016.git","ssh_url":"git@github.com:luckymark/CCpp2016.git","clone_url":"https://github.com/luckymark/CCpp2016.git","svn_url":"https://github.com/luckymark/CCpp2016","homepage":null,"size":514,"stargazers_count":4,"watchers_count":4,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":29,"forks":33,"open_issues":29,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10"},"html":{"href":"https://github.com/luckymark/CCpp2016/pull/10"},"issue":{"href":"https://api.github.com/repos/luckymark/CCpp2016/issues/10"},"comments":{"href":"https://api.github.com/repos/luckymark/CCpp2016/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/luckymark/CCpp2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/luckymark/CCpp2016/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/luckymark/CCpp2016/statuses/c94a7f08ad12b43f8bf8e5226aa1ad66c733602a"}}}}