public static function twoSha256($data, $binary = false)
    {
        return self::sha256(self::sha256($data, $binary), $binary);
    }
public static function twoSha256($data, $binary = false)
    {
        return self::sha256(self::sha256($data, $binary), $binary);
    }
public static function twoSha256 ( $ data , $ binary = false ) { return self :: sha256 ( self :: sha256 ( $ data , $ binary ) , $ binary ) ; }
Returns a double SHA256 hash of a value.

@param string $data

@return string
Returns a double SHA256 hash of a value .