AnsweredAssumed Answered

I have a a string to sign and a secret key. Need to generate HMAC 512

Question asked by gouthamr388096 on Apr 25, 2018

I have a string I need to sign. The string is 

POST\nx-csod-api-key:1lie8ficql9h5\nx-csod-date:2015-09-08T11:27:32.000\n/services/api/sts/session

I have a secretkey that I should use to generate HMAC SHA 512 code for the above string. The secret key is for example
j6hriaKY2iZi+Y2uo9JJldmO1Bq79XB8d1v2uHzAK0Zvy972mIs8ThsJSQeDlZJz+HzmLD6Q1MUZb5X1Zf9MzQ==

Is there a Groovy or Java code that can generate me a HMAC SHA512 for the string using the key above?

Thanks

Outcomes