Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

sha256()

Description

Main routine called from an application using this include.

General usage:
require_once('sha256.inc.php');
$hashstr = sha256('abc');

Note:
PHP Strings are limitd to (2^31)-1, so it is not worth it to
check for input strings > 2^64 as the FIPS180-2 defines.

// 2009-07-23: Added check for function as the Suhosin plugin adds this routine.
if (!function_exists('sha256')) {

Parameters

ColumnTypeDefaultDescription
$str
$ig_func false

This article was last updated 4th August 2020 14:35 Europe/London time based on the source file dated 7th July 2020 14:31 Europe/London time.