openssl_digest(3) php man page | unix.com

Man Page: openssl_digest

Operating Environment: php

Section: 3

OPENSSL_DIGEST(3)							 1							 OPENSSL_DIGEST(3)

openssl_digest - Computes a digest

SYNOPSIS
string openssl_digest (string $data, string $method, [bool $raw_output = false])
DESCRIPTION
Computes a digest hash value for the given data using a given method, and returns a raw or binhex encoded string. Warning This function is currently not documented; only its argument list is available.
PARAMETERS
o $data - The data. o $method - The digest method. o $raw_output - Setting to TRUE will return as raw output data, otherwise the return value is binhex encoded.
RETURN VALUES
Returns the digested hash value on success or FALSE on failure.
ERRORS
/EXCEPTIONS Emits an E_WARNING level error if an unknown signature algorithm is passed via the $method parameter.
SEE ALSO
openssl_get_md_methods(3). PHP Documentation Group OPENSSL_DIGEST(3)
Related Man Pages
openssl_decrypt(3) - php
hash_hmac(3) - php
hash_file(3) - php
hash_hmac_file(3) - php
openssl_get_md_methods(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team