{"action":"opened","issue":{"url":"https://api.github.com/repos/haibison/android-lockpattern/issues/41","labels_url":"https://api.github.com/repos/haibison/android-lockpattern/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/haibison/android-lockpattern/issues/41/comments","events_url":"https://api.github.com/repos/haibison/android-lockpattern/issues/41/events","html_url":"https://github.com/haibison/android-lockpattern/issues/41","id":108440496,"number":41,"title":"A lite advice about IEncrypter","user":{"login":"MiyamuraMiyako","id":10345361,"avatar_url":"https://avatars.githubusercontent.com/u/10345361?v=3","gravatar_id":"","url":"https://api.github.com/users/MiyamuraMiyako","html_url":"https://github.com/MiyamuraMiyako","followers_url":"https://api.github.com/users/MiyamuraMiyako/followers","following_url":"https://api.github.com/users/MiyamuraMiyako/following{/other_user}","gists_url":"https://api.github.com/users/MiyamuraMiyako/gists{/gist_id}","starred_url":"https://api.github.com/users/MiyamuraMiyako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiyamuraMiyako/subscriptions","organizations_url":"https://api.github.com/users/MiyamuraMiyako/orgs","repos_url":"https://api.github.com/users/MiyamuraMiyako/repos","events_url":"https://api.github.com/users/MiyamuraMiyako/events{/privacy}","received_events_url":"https://api.github.com/users/MiyamuraMiyako/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-26T04:54:48Z","updated_at":"2015-09-26T04:54:48Z","closed_at":null,"body":"```java\r\npublic List<LockPatternView.Cell> decrypt(Context context, char[] chars)\r\n```\r\nWhy decrypt method only provide ```char array```?\r\n\r\nI think should be provide ```List<LockPatternView.Cell> (user input pattern)``` and ```char array (encrypted pattern)```, and return ```boolean```. Because after the password encryption should not be able to reverse operation. Just like the following:\r\n```java\r\npublic boolean decrypt(Context context,  List<LockPatternView.Cell> list, char[] chars)\r\n```"}}