xref: /PHP-8.4/ext/sodium/sodium_pwhash.stub.php (revision 20c49f85)
1<?php
2
3/** @generate-class-entries */
4
5#if SODIUM_LIBRARY_VERSION_MAJOR > 9 || (SODIUM_LIBRARY_VERSION_MAJOR == 9 && SODIUM_LIBRARY_VERSION_MINOR >= 6)
6/**
7 * @var string
8 */
9const PASSWORD_ARGON2I = "argon2i";
10/**
11 * @var string
12 */
13const PASSWORD_ARGON2ID = "argon2id";
14/**
15 * @var int
16 * @cvalue PHP_SODIUM_PWHASH_MEMLIMIT
17 */
18const PASSWORD_ARGON2_DEFAULT_MEMORY_COST = UNKNOWN;
19/**
20 * @var int
21 * @cvalue PHP_SODIUM_PWHASH_OPSLIMIT
22 */
23const PASSWORD_ARGON2_DEFAULT_TIME_COST = UNKNOWN;
24/**
25 * @var int
26 * @cvalue PHP_SODIUM_PWHASH_THREADS
27 */
28const PASSWORD_ARGON2_DEFAULT_THREADS = UNKNOWN;
29/**
30 * @var string
31 */
32const PASSWORD_ARGON2_PROVIDER = "sodium";
33#endif
34