I havent checked the Facebook API but don't you simply need to concatenate your key with the text you need to hash ?

SHA256 hashMessage: ('test' , 'APIKey') hex

?

On 30/09/12 15:00, sergio_101 wrote:
hey, all...

i installed the Cryptography library, and can produce a has like:

SHA256 hashMessage: 'test' hex.

the problem i am running into is, i need to generate the SHA256 with
my AppKey from facebook. i can't figure out how to generate a hash
using a secret key.

i tried looking through the source code, but couldn't find anything for SHA256..

any ideas?

thanks!



Reply via email to