Is there a way using openssl to get the md5 hash from a string instead of a file... this is what I use now...
Code:
Is there any other way of doing this with a string instead of a file?
Code:
Code:
NSTask *bam = [[NSTask alloc] init];
[bam setLaunchPath:@"/usr/bin/env"];
[bam setArguments:
[NSArray arrayWithObjects:@"openssl", @"dgst", @"-md5", @"/Users/syphor/Desktop/password.txt", nil]
];
[bam launch];
Is there any other way of doing this with a string instead of a file?