[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 const SODIUM_LIBRARY_MAJOR_VERSION = 9; 4 const SODIUM_LIBRARY_MINOR_VERSION = 1; 5 const SODIUM_LIBRARY_VERSION = '1.0.8'; 6 7 const SODIUM_BASE64_VARIANT_ORIGINAL = 1; 8 const SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING = 3; 9 const SODIUM_BASE64_VARIANT_URLSAFE = 5; 10 const SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING = 7; 11 const SODIUM_CRYPTO_AEAD_AES256GCM_KEYBYTES = 32; 12 const SODIUM_CRYPTO_AEAD_AES256GCM_NSECBYTES = 0; 13 const SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES = 12; 14 const SODIUM_CRYPTO_AEAD_AES256GCM_ABYTES = 16; 15 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES = 32; 16 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES = 0; 17 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES = 8; 18 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_ABYTES = 16; 19 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES = 32; 20 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES = 0; 21 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES = 12; 22 const SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES = 16; 23 const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES = 32; 24 const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NSECBYTES = 0; 25 const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES = 24; 26 const SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_ABYTES = 16; 27 const SODIUM_CRYPTO_AUTH_BYTES = 32; 28 const SODIUM_CRYPTO_AUTH_KEYBYTES = 32; 29 const SODIUM_CRYPTO_BOX_SEALBYTES = 16; 30 const SODIUM_CRYPTO_BOX_SECRETKEYBYTES = 32; 31 const SODIUM_CRYPTO_BOX_PUBLICKEYBYTES = 32; 32 const SODIUM_CRYPTO_BOX_KEYPAIRBYTES = 64; 33 const SODIUM_CRYPTO_BOX_MACBYTES = 16; 34 const SODIUM_CRYPTO_BOX_NONCEBYTES = 24; 35 const SODIUM_CRYPTO_BOX_SEEDBYTES = 32; 36 const SODIUM_CRYPTO_KDF_BYTES_MIN = 16; 37 const SODIUM_CRYPTO_KDF_BYTES_MAX = 64; 38 const SODIUM_CRYPTO_KDF_CONTEXTBYTES = 8; 39 const SODIUM_CRYPTO_KDF_KEYBYTES = 32; 40 const SODIUM_CRYPTO_KX_BYTES = 32; 41 const SODIUM_CRYPTO_KX_PRIMITIVE = 'x25519blake2b'; 42 const SODIUM_CRYPTO_KX_SEEDBYTES = 32; 43 const SODIUM_CRYPTO_KX_KEYPAIRBYTES = 64; 44 const SODIUM_CRYPTO_KX_PUBLICKEYBYTES = 32; 45 const SODIUM_CRYPTO_KX_SECRETKEYBYTES = 32; 46 const SODIUM_CRYPTO_KX_SESSIONKEYBYTES = 32; 47 const SODIUM_CRYPTO_GENERICHASH_BYTES = 32; 48 const SODIUM_CRYPTO_GENERICHASH_BYTES_MIN = 16; 49 const SODIUM_CRYPTO_GENERICHASH_BYTES_MAX = 64; 50 const SODIUM_CRYPTO_GENERICHASH_KEYBYTES = 32; 51 const SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MIN = 16; 52 const SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MAX = 64; 53 const SODIUM_CRYPTO_PWHASH_SALTBYTES = 16; 54 const SODIUM_CRYPTO_PWHASH_STRPREFIX = '$argon2id$'; 55 const SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13 = 1; 56 const SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 = 2; 57 const SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE = 33554432; 58 const SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE = 4; 59 const SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE = 134217728; 60 const SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE = 6; 61 const SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE = 536870912; 62 const SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE = 8; 63 const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES = 32; 64 const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX = '$7$'; 65 const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE = 534288; 66 const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE = 16777216; 67 const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE = 33554432; 68 const SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE = 1073741824; 69 const SODIUM_CRYPTO_SCALARMULT_BYTES = 32; 70 const SODIUM_CRYPTO_SCALARMULT_SCALARBYTES = 32; 71 const SODIUM_CRYPTO_SHORTHASH_BYTES = 8; 72 const SODIUM_CRYPTO_SHORTHASH_KEYBYTES = 16; 73 const SODIUM_CRYPTO_SECRETBOX_KEYBYTES = 32; 74 const SODIUM_CRYPTO_SECRETBOX_MACBYTES = 16; 75 const SODIUM_CRYPTO_SECRETBOX_NONCEBYTES = 24; 76 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_ABYTES = 17; 77 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES = 24; 78 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_KEYBYTES = 32; 79 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PUSH = 0; 80 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PULL = 1; 81 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_REKEY = 2; 82 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_FINAL = 3; 83 const SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_MESSAGEBYTES_MAX = 0x3fffffff80; 84 const SODIUM_CRYPTO_SIGN_BYTES = 64; 85 const SODIUM_CRYPTO_SIGN_SEEDBYTES = 32; 86 const SODIUM_CRYPTO_SIGN_PUBLICKEYBYTES = 32; 87 const SODIUM_CRYPTO_SIGN_SECRETKEYBYTES = 64; 88 const SODIUM_CRYPTO_SIGN_KEYPAIRBYTES = 96; 89 const SODIUM_CRYPTO_STREAM_KEYBYTES = 32; 90 const SODIUM_CRYPTO_STREAM_NONCEBYTES = 24;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |