Cryptography

Functions

  • CSRFGenerateToken Provides a random token and stores it in the session.
  • CSRFVerifyToken Validates the given token against the same stored in the session for a specific key.
  • Encrypt Encrypts a string. Uses a symmetric key-based algorithm, in which the same key is used to encrypt and decrypt a string.
  • EncryptBinary Encrypts binary data using a specific algorithm and encoding method.
  • Generate3DESKey Generates a secure key value for use in the encrypt function with the 3DES algorithm.
  • GeneratePBKDFkey Implementation of Password-Based Key-Derivation Function (PBKDF).
  • GenerateSecretKey Gets a secure key value for use in the encrypt function.
  • Hash Returns the one-way hash of a variable-length input string based on the algorithm, producing a fixed-length string.
  • Randomize Seeds the pseudo-random number generator with an integer number, ensuring repeatable number patterns.
  • SSLCertificateList list all Certificates availble on a specific host