fn digest_payload(payload: &[u8]) -> (String, usize) {
    let digest = to_hexdigest(payload);
    let len = payload.len();
    (digest, len)
}
Convert payload from Char array to useable <payload, len> format.
rusoto/signature/src/signature.rs