I need to undergo a process of creating a signature from the following process in Objective C:
- ASCII encode an NSString
- Hash the results with MD5
- Perform bitwise operation on the resulting bytes (&127)
- Convert to Base64 string
I am stuck on where to start. I am able to complete this task in C# but am at a loss in Objective C or even ANSI C.
I have got as far as getting the UTF8String from the initial NSString using:
[NSString UTF8String]
Hopefully you can help.