We are using this code to encrypt in Objective-C on the iPhone:
- (NSMutableData*) EncryptAES: (NSString *) key { char keyPtr[kCCKeySizeAES128+1]; bz
I haven't done what you are doing, at least not exactly, but the following could be worth a try.
require 'crypt/rijndael' require 'Base64' rijndael = Crypt::Rijndael.new("samepassword") decryptedBlock = rijndael.decrypt_block(Base64.decode64("encrypted-b64-encoded-data"))