I'm encountering this problem converting a byte[] in C# to SOME kind of data type in Objective-C. If it's a byte[] in C#, then what should it be in Obj-C; const char, unsigned char, NSMutableData, NSMutableArray etc... whatever array format it's in, it need to have some kind of .Length property which NSMutableData has, but the straight one to one conversion seems to be found in this post: http://stackoverflow.com/questions/876598/byte-array-in-objective-c
Ultimately there are over 10 methods in a C# encryption process that may need to be replicated to decrypt a password sent via a SOAP web service XML attribute. Is this going to be possible in general? Taking a password that was encrypted in C# using SHA hashing then decrypted via Objective-C?
EDIT BECAUSE OF DOWNVOTES
Made edits to be more clear, however I'm not going to "post my encryption logic" on SO, so I'm trying to explain the steps without explaining the steps??
Basically the pw string is being AES128 Encrypted then this then that, but my basic question still remains; If the Obj-C methods mimic the C# methods in the exact order, which include the decryption logic using a key and an iv that are hashed as well, that DOES work on the C# side, will this work in theory? Or is this known not to be possible?
Trying to figure out if I need to import a dyLib into my proj from a C# dll...