Python script to calculate HMAC sha256 The function needs a byte array as a key and a string as a message