crypt_preferred_method
PHP Manual
PHP Manual»Xpass Функції»crypt_preferred_method

crypt_preferred_method

(PECL xpass >= 1.1.0)

crypt_preferred_methodGet the prefix of the preferred hash method

Опис

function crypt_preferred_method(): ?string

Get the prefix of the preferred hash method.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns a string with the prefix, or null in case of an error.

Приклади

Приклад #1 A crypt_preferred_method() example

<?php
var_dump(crypt_preferred_method());
?>

Поданий вище приклад виведе:

string(3) "$y$"

Прогляньте також

To Top