key needed for java-action GenerateHMAC_SHA256_hash

0
Hi, To use the CommunityCommons Java-action ‘GenerateHMAC_SHA256_hash’, I need to give the parameters ‘valueToEncrypt’ and ‘key’. But with this type of hash, I don't expect to enter a key at all, but when I enter ‘empty’ instead of a value for the key, the java-action does not work.  Does anybody know which value I should enter for key, if I don't want to use a key at all for the hash?
asked
2 answers
2

You will always need a key for the hash. You can just create a string in your microflow and pass that to the Java action.

Regards,

Ronald

 

answered
0

Follow on question, once I have an encrypted value, how do I decrypt it? Community Commons does not appear to have a decrypt option.

Thoughts?

answered