Post

Replies

Boosts

Views

Activity

Reply to Swift AES CBC 256 Encryption With Static 32bit Key and 32bit IV
Hello, I am developing this in ios but having one issue. I am convert my string to encrypted string using AES encryption that's working fine and also and decrypt that encrypted string using same IV and Salt key. The issue is that i have one encrypted string that should be decrypt using IV and salt key but it's not It is returning nil instead of decrypted string. I follow this code : "https://developer.apple.com/forums/content/attachment/60fab4f2-1496-4003-9f37-c195de95e94a" Below are my string data : Encrypted string : "/ebetq2aI+VGtpb/YjFkF4+1w23r20cZh5O3w2yH8tpYHr7djnDs85yLWOUeFNU9DKPIBR5BDkdN+m/OsiNCdtdUdn9eA24heS1GB0k7o+MSxWMjYUtkcqhXPFxiUhue9utjq7FbogHv5QCbYLoXLPI1MDMAJEN2dyEyxintLCJ36Qb0JptBIfN79UVHnnZk/jD+ZaUhDzcJwFKhYPbSHV/g73xw+sn4mxxNVnRJz+yZb/f2ibNMpzzjO9b6vJru+NieeHV8tc6uPEJVKeNMO7KEBQ3qaW+bQMej9GD4gIkw9OkYYZBQ85HDFvSG5QT/9eC2paqUbHdh62obU3XbqniEuGyn/91EaIF2sHPMA9BC484gL0MeD8T7spXu3/IneqBBP/EidgoJ0OiyItzAGDPEFVaEALXJIuzycUUP+eWILbNSltfWaMKcUd06FxMWeiUVDZE7alwkIhZaMHDT7bw0Oo8KbDdZupdOW0KTWWBmXer0qTEC0HEryygO034kHIOL4ibYwAPeueYsePuVyIUY/I8O//dsNKM6MIrDCc8pTsIHIaBwUzZgpjYT9s8akX9Hkhrk17zg5QF6vP8QCd9Z2omnouS3MMIVEifimxr7yXXsAgEte3Ad+w/fat/Z+jft7goYy280Wue33CsQskZ2AJZZAqik21gRJD0qKiOPDLQMcpDKYQjRhn5WCk4fVZC4CCyuu/ujco7lKHTFMPy6X2akpyZKDO2iqDPmcSYpmyATcOxwRIc2CP7AbZFuCai/a1ah+4iG8NJTiRCW4lyql+zcGZZsEctwq3YLqzkG6w6yfbk3M8oSR598HgiUKjumMKMOVFgnHJ7Vu+k3OePEPgadAHxNGCS90jMuPVALtxocjUTX+oVYlakg5/irY2xBQRjTIn+fVp7Tw95h+hcRKNmnizBE5SA/l7vfmeRPQqDzyMtrM0rmFppHSvWM9lwp6orhdBL5rlOjlcnof/RZe7cezoQFMS9touCaX6o15Gvl/eNyJRV9v318E3j7pcVbAVJScZzox/hSZYh+354l28LDUA/G0h1DqSK528ZGbqbxYWtWx9PvgpdHWu++PuXCItBdsUby7jt7JkJPfpmfhzxkWwPUmUM0RNQ9N7uFyIeggd5OvzZq5B6sZuSK" IV Key : "01234567890123456789012345678901" Salt Key : "df3ddbf43ec16823572c800d2b43c5b3" Please help me out, Can you decrypt this encrypted string I am stuck in this issue over 1 week 😓😓 Thanks.
Sep ’22