Edit File by line
/home/barbar84/www/wp-inclu.../sodium_c.../lib
File: php72compat_const.php
<?php
[0] Fix | Delete
[1] Fix | Delete
const SODIUM_LIBRARY_MAJOR_VERSION = 9;
[2] Fix | Delete
const SODIUM_LIBRARY_MINOR_VERSION = 1;
[3] Fix | Delete
const SODIUM_LIBRARY_VERSION = '1.0.8';
[4] Fix | Delete
[5] Fix | Delete
const SODIUM_BASE64_VARIANT_ORIGINAL = 1;
[6] Fix | Delete
const SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING = 3;
[7] Fix | Delete
const SODIUM_BASE64_VARIANT_URLSAFE = 5;
[8] Fix | Delete
const SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING = 7;
[9] Fix | Delete
const SODIUM_CRYPTO_AEAD_AES256GCM_KEYBYTES = 32;
[10] Fix | Delete
const SODIUM_CRYPTO_AEAD_AES256GCM_NSECBYTES = 0;
[11] Fix | Delete
const SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES = 12;
[12] Fix | Delete
const SODIUM_CRYPTO_AEAD_AES256GCM_ABYTES = 16;
[13] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES = 32;
[14] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES = 0;
[15] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES = 8;
[16] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_ABYTES = 16;
[17] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES = 32;
[18] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES = 0;
[19] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES = 12;
[20] Fix | Delete
const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES = 16;
[21] Fix | Delete
const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES = 32;
[22] Fix | Delete
const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NSECBYTES = 0;
[23] Fix | Delete
const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES = 24;
[24] Fix | Delete
const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_ABYTES = 16;
[25] Fix | Delete
const SODIUM_CRYPTO_AUTH_BYTES = 32;
[26] Fix | Delete
const SODIUM_CRYPTO_AUTH_KEYBYTES = 32;
[27] Fix | Delete
const SODIUM_CRYPTO_BOX_SEALBYTES = 16;
[28] Fix | Delete
const SODIUM_CRYPTO_BOX_SECRETKEYBYTES = 32;
[29] Fix | Delete
const SODIUM_CRYPTO_BOX_PUBLICKEYBYTES = 32;
[30] Fix | Delete
const SODIUM_CRYPTO_BOX_KEYPAIRBYTES = 64;
[31] Fix | Delete
const SODIUM_CRYPTO_BOX_MACBYTES = 16;
[32] Fix | Delete
const SODIUM_CRYPTO_BOX_NONCEBYTES = 24;
[33] Fix | Delete
const SODIUM_CRYPTO_BOX_SEEDBYTES = 32;
[34] Fix | Delete
const SODIUM_CRYPTO_KDF_BYTES_MIN = 16;
[35] Fix | Delete
const SODIUM_CRYPTO_KDF_BYTES_MAX = 64;
[36] Fix | Delete
const SODIUM_CRYPTO_KDF_CONTEXTBYTES = 8;
[37] Fix | Delete
const SODIUM_CRYPTO_KDF_KEYBYTES = 32;
[38] Fix | Delete
const SODIUM_CRYPTO_KX_BYTES = 32;
[39] Fix | Delete
const SODIUM_CRYPTO_KX_PRIMITIVE = 'x25519blake2b';
[40] Fix | Delete
const SODIUM_CRYPTO_KX_SEEDBYTES = 32;
[41] Fix | Delete
const SODIUM_CRYPTO_KX_KEYPAIRBYTES = 64;
[42] Fix | Delete
const SODIUM_CRYPTO_KX_PUBLICKEYBYTES = 32;
[43] Fix | Delete
const SODIUM_CRYPTO_KX_SECRETKEYBYTES = 32;
[44] Fix | Delete
const SODIUM_CRYPTO_KX_SESSIONKEYBYTES = 32;
[45] Fix | Delete
const SODIUM_CRYPTO_GENERICHASH_BYTES = 32;
[46] Fix | Delete
const SODIUM_CRYPTO_GENERICHASH_BYTES_MIN = 16;
[47] Fix | Delete
const SODIUM_CRYPTO_GENERICHASH_BYTES_MAX = 64;
[48] Fix | Delete
const SODIUM_CRYPTO_GENERICHASH_KEYBYTES = 32;
[49] Fix | Delete
const SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MIN = 16;
[50] Fix | Delete
const SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MAX = 64;
[51] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SALTBYTES = 16;
[52] Fix | Delete
const SODIUM_CRYPTO_PWHASH_STRPREFIX = '$argon2id$';
[53] Fix | Delete
const SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13 = 1;
[54] Fix | Delete
const SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 = 2;
[55] Fix | Delete
const SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE = 33554432;
[56] Fix | Delete
const SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE = 4;
[57] Fix | Delete
const SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE = 134217728;
[58] Fix | Delete
const SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE = 6;
[59] Fix | Delete
const SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE = 536870912;
[60] Fix | Delete
const SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE = 8;
[61] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES = 32;
[62] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX = '$7$';
[63] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE = 534288;
[64] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE = 16777216;
[65] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE = 33554432;
[66] Fix | Delete
const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE = 1073741824;
[67] Fix | Delete
const SODIUM_CRYPTO_SCALARMULT_BYTES = 32;
[68] Fix | Delete
const SODIUM_CRYPTO_SCALARMULT_SCALARBYTES = 32;
[69] Fix | Delete
const SODIUM_CRYPTO_SHORTHASH_BYTES = 8;
[70] Fix | Delete
const SODIUM_CRYPTO_SHORTHASH_KEYBYTES = 16;
[71] Fix | Delete
const SODIUM_CRYPTO_SECRETBOX_KEYBYTES = 32;
[72] Fix | Delete
const SODIUM_CRYPTO_SECRETBOX_MACBYTES = 16;
[73] Fix | Delete
const SODIUM_CRYPTO_SECRETBOX_NONCEBYTES = 24;
[74] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_ABYTES = 17;
[75] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES = 24;
[76] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_KEYBYTES = 32;
[77] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PUSH = 0;
[78] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PULL = 1;
[79] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_REKEY = 2;
[80] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_FINAL = 3;
[81] Fix | Delete
const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_MESSAGEBYTES_MAX = 0x3fffffff80;
[82] Fix | Delete
const SODIUM_CRYPTO_SIGN_BYTES = 64;
[83] Fix | Delete
const SODIUM_CRYPTO_SIGN_SEEDBYTES = 32;
[84] Fix | Delete
const SODIUM_CRYPTO_SIGN_PUBLICKEYBYTES = 32;
[85] Fix | Delete
const SODIUM_CRYPTO_SIGN_SECRETKEYBYTES = 64;
[86] Fix | Delete
const SODIUM_CRYPTO_SIGN_KEYPAIRBYTES = 96;
[87] Fix | Delete
const SODIUM_CRYPTO_STREAM_KEYBYTES = 32;
[88] Fix | Delete
const SODIUM_CRYPTO_STREAM_NONCEBYTES = 24;
[89] Fix | Delete
const SODIUM_CRYPTO_STREAM_XCHACHA20_KEYBYTES = 32;
[90] Fix | Delete
const SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES = 24;
[91] Fix | Delete
[92] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function