encrypted data return nil string
<p>I am using Rijndael Encryption Algorithm when I am going to encrypt it, it encrypted in NSData. I want that encrypted NSdata into NSString. I tried to convert it into string but it return nil. Have anyone any solutions to get into string.</p>

<p>I am doing like this</p>

<pre><code>NSString *passphrase = @"super-secret";
NSStringEncoding myEncoding = NSUTF8StringEncoding;

NSString *alphaPlain = @"This is a encryption test.";
NSData *alphaDataPlain = [alphaPlain dataUsingEncoding:myEncoding];
NSLog(@"  SimpleText value : %@",alphaPlain);

NSData *alphaDataCypher = [alphaDataPlain AESEncryptWithPassphrase:passphrase];
NSString *alphaStringCypher = [[NSString alloc] initWithData:alphaDataCypher encoding:myEncoding];

NSLog(@"  Encrypted value : %@",alphaStringCypher);
</code></pre>

<p>It returns nil value.</p>

<p>Thanks</p>
