Expand description
Module for utils that does not use any of the Devolutions custom data types.
Functions§
- base64_
decode - base64_
decode_ url - base64_
encode - base64_
encode_ url - constant_
time_ equals - derive_
key_ argon2 - Derives a password or key into a new one using Argon2.
- derive_
key_ pbkdf2 - Derives a password or key into a new one using PBKDF2.
- generate_
key - Returns a random key of the specified length. Can also be used whenever you need a random byte array, like for a salt.
- scrypt_
simple - Temporarly binded here for a specific use case, don’t rely on this.
- validate_
header - Only validate the header to make sure it is valid. Used to quickly determine if the data comes from the library.