Application
Table of Contents
Classes
- Cryptex
- Authenticated encryption with XChaCha20-Poly1305.
- DecryptionException
- Thrown when authentication fails.
- EncodingException
- Thrown when encoding or decoding fails.
- EncryptionException
- Thrown when encryption fails.
- NonceLengthException
- Thrown when the decoded payload is too short.
- SaltLengthException
- Thrown when the supplied salt length is invalid.
- CryptexTest
- DecryptValidationOrderTest
- DirectIncludeCompatibilityTest
- ExceptionAutoloadTest
Functions
- sodium_crypto_pwhash() : string
- Test-only namespace override that fails if invalid ciphertext reaches Argon2id.
Functions
sodium_crypto_pwhash()
Test-only namespace override that fails if invalid ciphertext reaches Argon2id.
sodium_crypto_pwhash(int $length, string $password, string $salt, int $opslimit, int $memlimit, int $algo) : string
Parameters
- $length : int
- $password : string
- $salt : string
- $opslimit : int
- $memlimit : int
- $algo : int