I keep getting a blank result when running this code. It doesn't display anything.
[self.webview loadHTMLString:@"<script src=\"http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/rc4.js\"></script>"
baseURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] resourcePath]]];
NSString *function = [[NSString alloc] initWithFormat: @"CryptoJS.RC4.encrypt(%@, %@)",@"abhijit",@"TestKey"];
NSString *result = [self.webview stringByEvaluatingJavaScriptFromString:function];
NSLog(@"----%@",result);
Could there be an error in the implementation of this code or is there something else causing the issue? Any suggestions would be appreciated.
Attempting to incorporate functionality from into an iOS application