objective c - char array to [NSString stringWithFormat:] -


This code contains code (MD5 hashing)

  four unsigned char [16 ]; // Filling result with data [NSString stringWithFormat: @ "% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x% 02x", Results [0] ] Results [2], Results [2], Results [4], Results [5], Results [5], Results [5], Results [6], Results [7], Results [8], Results [9] , The result [10], the result [11], the result [12], the result [13], the result [14], the result [15]];   

Is this code pushing the entire array in NSString?

is the fastest way to hexize 16 characters in an NSString . If you do this often, wrap it in the function so that you have a copy of the code. :)

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -