How to get the raw response body in Tests scripts?

I am trying in my test scripts to compute message digests on response bodies data to validate them.
I am using the pm.response.text() to compute the message digests.

That works as long as the body contains ASCII data.
But as soon as the body contains data other than ASCII, it does not work anymore as expected.

The problem occurs because the content returned by pm.response.text() is not the raw data, but is somehow modified.
I use the following code to verify the message digest and the content of pm.response.text() as an hexadecimal representation:
var rawBody = pm.response.text();
var hexBody = “”;
for (i = 0; i <rawBody.length; i ++) {
hexBody += rawBody.charCodeAt(i).toString(16);
console.log("MD5: " + CryptoJS.enc.Hex.stringify(CryptoJS.MD5(pm.response.text())));
console.log("Hexa data: " + hexBody);

For a received body with one “0x61” byte (which is ‘a’ in ASCII), I get the following displayed in the console:
“MD5: 0cc175b9c0f1b6a831c399e269772661”
“Hex data: 61”

For a received body with one “0x97” byte, I get the following displayed in the console, which is obviously wrong (MD5 should be c444b580079efb1fe408f17f029e5d35):
“MD5: 9b759040321a408a5c7768b4511287a6”
“Hexa data: fffd”

How can I get the unmodified response raw body (or decoded if I received deflated, gziped, etc. content) ?