Problem with base64_encode and openssl_verify

From: Date: Tue, 11 Oct 2011 18:04:23 +0000
Subject: Problem with base64_encode and openssl_verify
Groups: php.general 
Request: Send a blank email to php-general+get-315242@lists.php.net to get a copy of this message
openssl_sign($dados, $signature, $pkeyid)); // return 1 $signatureValue = base64_encode($signature); $funcionam = base64_decode($dados_que_nao); $pubKey = file_get_contents('protected/models/nfe/certs/cert.pem'); openssl_verify($funcionam,$signature, $pubKey)); // return 0; if I remove the de base64 encrypt and decrypt. It works fine. Can someone helpme with this?

« previous php.general (#315242) next »