How to save the SHA256 with HMAC into a variable instead of serial print?
My solution was making a new function that returns a String with the hash

String GetHash256(uint8_t* hash) {
    char tmp[16];
    String sHash256 = "";

    int i;
    for (i=0; i&lt;32; i++) {
        sprintf(tmp, "%.2X",hash[i]);
        sHash256.concat(tmp);
    }

    return sHash256 ;
}