Archived Forum Post

Index of archived forum posts


crypt setEncodedKey

Jan 11 '15 at 05:02

Hi there, what if below happen, what is the exact encryption key that Chilkat lib is going to use?

[crypt SetEncodedKey: @"/s=" encoding: @"hex"];



The format of the string passed in the first argument must match what is specified in the 2nd argument. You indicated "hex", but passed a base64 string. You cannot expect a well-defined result in this case..


To find out the exact value of the secret key after setting it, you can get the contents of the SecretKey property.