diff --git a/lib/SimpleSAML/Utils/Crypto.php b/lib/SimpleSAML/Utils/Crypto.php index 3dc695980bbb602d3b96dbfd5107c3fe3448eee4..17dcd81f6dfcd5d9ecb9a413a1ccf071b10a95b0 100644 --- a/lib/SimpleSAML/Utils/Crypto.php +++ b/lib/SimpleSAML/Utils/Crypto.php @@ -53,8 +53,8 @@ class Crypto } } - throw new \SimpleSAML_Error_Exception("Failed to decrypt ciphertext \"". - base64_encode($ciphertext).'", hmac: "'.base64_encode($hmac).'", iv: "'.base64_encode($iv).'"'); + throw new \SimpleSAML_Error_Exception("Failed to decrypt ciphertext \"".bin2hex($ciphertext). + '", hmac: "'.bin2hex($hmac).'", iv: "'.bin2hex($iv).'", msg: "'.bin2hex($msg).'"'); }