{"action":"created","issue":{"url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/298","repository_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift","labels_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/298/comments","events_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/298/events","html_url":"https://github.com/krzyzanowskim/CryptoSwift/issues/298","id":169295147,"number":298,"title":"unable to decrypt AES 128 with key and iv as string.","user":{"login":"ashiqsulaimanbaryons","id":20036490,"avatar_url":"https://avatars.githubusercontent.com/u/20036490?v=3","gravatar_id":"","url":"https://api.github.com/users/ashiqsulaimanbaryons","html_url":"https://github.com/ashiqsulaimanbaryons","followers_url":"https://api.github.com/users/ashiqsulaimanbaryons/followers","following_url":"https://api.github.com/users/ashiqsulaimanbaryons/following{/other_user}","gists_url":"https://api.github.com/users/ashiqsulaimanbaryons/gists{/gist_id}","starred_url":"https://api.github.com/users/ashiqsulaimanbaryons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashiqsulaimanbaryons/subscriptions","organizations_url":"https://api.github.com/users/ashiqsulaimanbaryons/orgs","repos_url":"https://api.github.com/users/ashiqsulaimanbaryons/repos","events_url":"https://api.github.com/users/ashiqsulaimanbaryons/events{/privacy}","received_events_url":"https://api.github.com/users/ashiqsulaimanbaryons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-04T05:37:27Z","updated_at":"2016-08-05T12:38:40Z","closed_at":null,"body":"let encryptedValue: NSString = \"47595cfa90f7b0b0e0d9d7240a2e035f7f4acde27d7ca778a7d8b05add32a0a92d945c0a59f7f0e029d7f2fbb258b2f0\"\r\nlet key: NSString = \"0123456789abcdef\"\r\nlet iv: NSString = \"fedcba9876543210\"\r\ndecrypted value: \"74b653e36430d7a9cd91a24d9944b032OrFeckrWo\"\r\n\r\nI get the encrypted value from the value from the backend which i am not able to decrypt. When i do the encryption in the ios side it generates a different cipher \"47595cfa90f7b0b0e0d9d7240a2e035f7f4acde27d7ca778a7d8b05add32a0a929cf3426e98ab1297eb2fb623e2ad8b5\" which is not the same as the encrypted value obtained from the backend."},"comment":{"url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/comments/237839622","html_url":"https://github.com/krzyzanowskim/CryptoSwift/issues/298#issuecomment-237839622","issue_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/298","id":237839622,"user":{"login":"ashiqsulaimanbaryons","id":20036490,"avatar_url":"https://avatars.githubusercontent.com/u/20036490?v=3","gravatar_id":"","url":"https://api.github.com/users/ashiqsulaimanbaryons","html_url":"https://github.com/ashiqsulaimanbaryons","followers_url":"https://api.github.com/users/ashiqsulaimanbaryons/followers","following_url":"https://api.github.com/users/ashiqsulaimanbaryons/following{/other_user}","gists_url":"https://api.github.com/users/ashiqsulaimanbaryons/gists{/gist_id}","starred_url":"https://api.github.com/users/ashiqsulaimanbaryons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashiqsulaimanbaryons/subscriptions","organizations_url":"https://api.github.com/users/ashiqsulaimanbaryons/orgs","repos_url":"https://api.github.com/users/ashiqsulaimanbaryons/repos","events_url":"https://api.github.com/users/ashiqsulaimanbaryons/events{/privacy}","received_events_url":"https://api.github.com/users/ashiqsulaimanbaryons/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T12:38:40Z","updated_at":"2016-08-05T12:38:40Z","body":"okay, how should i proceed now ?\r\n"}}
{"actor":{"display_login":"ashiqsulaimanbaryons"}}