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
openssl_decrypt(3) - php
hash(3) - php
hash_file(3) - php
hash_hmac_file(3) - php
openssl_get_md_methods(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team