php man page for openssl_digest

Query: openssl_digest

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
hash_file(3) - php
hash_pbkdf2(3) - php
openssl_spki_new(3) - php
sha1(3) - php
streamwrapper.stream_lock(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun