src/DateTime.php
public function sha256($format = null, $raw_output = false)
	{
		return hash('sha256', parent::format($format === null ? static::$format : $format), $raw_output);
	}
public function sha256($format = null, $raw_output = false)
	{
		return hash('sha256', parent::format($format === null ? static::$format : $format), $raw_output);
	}
public function sha256 ( $ format = null , $ raw_output = false ) { return hash ( 'sha256' , parent :: format ( $ format === null ? static :: $ format : $ format ) , $ raw_output ) ; }
Gets a SHA-256 hash code of the internal string. Return result can be raw binary or hex by default

@param  bool|null $raw_output return the raw binary bytes or hex values of the SHA-256 hash
@return string
Gets a SHA - 256 hash code of the internal string . Return result can be raw binary or hex by default