{"action":"closed","issue":{"url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/647","repository_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift","labels_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/647/comments","events_url":"https://api.github.com/repos/krzyzanowskim/CryptoSwift/issues/647/events","html_url":"https://github.com/krzyzanowskim/CryptoSwift/issues/647","id":350060184,"node_id":"MDU6SXNzdWUzNTAwNjAxODQ=","number":647,"title":"Error The operation couldn’t be completed. (CryptoSwift.AES.Error error 1.)","user":{"login":"smkdoss73","id":7939817,"node_id":"MDQ6VXNlcjc5Mzk4MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/7939817?v=4","gravatar_id":"","url":"https://api.github.com/users/smkdoss73","html_url":"https://github.com/smkdoss73","followers_url":"https://api.github.com/users/smkdoss73/followers","following_url":"https://api.github.com/users/smkdoss73/following{/other_user}","gists_url":"https://api.github.com/users/smkdoss73/gists{/gist_id}","starred_url":"https://api.github.com/users/smkdoss73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smkdoss73/subscriptions","organizations_url":"https://api.github.com/users/smkdoss73/orgs","repos_url":"https://api.github.com/users/smkdoss73/repos","events_url":"https://api.github.com/users/smkdoss73/events{/privacy}","received_events_url":"https://api.github.com/users/smkdoss73/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-13T14:43:07Z","updated_at":"2018-09-14T04:49:17Z","closed_at":"2018-09-14T04:49:17Z","author_association":"NONE","body":"Language Version : SWIFT 4.1\r\nI got Error The operation couldn’t be completed. (CryptoSwift.AES.Error error 1.) error \r\n\r\nI Tried multiple way but no response \r\n\r\nMy code \r\n\r\n```\r\n\r\n let key = try PKCS5.PBKDF2(password: password, salt: salt,   iterations: 1000, variant: .sha256).calculate()\r\n            \r\n//            let key = try PKCS5.PBKDF2(password: password, salt: salt, iterations: 1000, variant: .sha256).calculate()\r\n//            let key = try PKCS5.PBKDF2(password: password, salt: salt).calculate()\r\n\r\n//            let key = try PKCS5.PBKDF2(password: password, salt: salt, iterations: 4096, variant: .sha256).calculate()\r\n    \r\n//            let key = try HKDF(password: password, salt: salt, variant: .sha256).calculate()\r\n\r\nlet result = try AES(key: key, blockMode: CBC(iv: iv), padding: .pkcs7).decrypt(encrypted)\r\n\r\n\r\n```"}}
{"actor":{"display_login":"krzyzanowskim"}}