Package dev.frostlake.functions.scalar.crypto


package dev.frostlake.functions.scalar.crypto
  • Classes
    Class
    Description
     
    DECRYPT_RAW(value, key, iv [, additional_authenticated_data [, encryption_method [, aead_tag]]]) — reverses EncryptRaw.
    ENCRYPT(value, passphrase [, aad]) — AES-GCM encryption of the value (a string's UTF-8 bytes or a BINARY value's bytes) under a passphrase-derived key.
    ENCRYPT_RAW(value, key, iv [, additional_authenticated_data [, encryption_method]]) — raw-key AES-GCM authenticated encryption.
    Shared helpers for the raw-key EncryptRaw / DecryptRaw AES-GCM functions: hex BINARY conversion (the engine represents BINARY as an uppercase hex string) and the encryption-method guard.
    TRY_DECRYPT — DECRYPT that returns NULL instead of erroring on a bad key or payload.
    TRY_DECRYPT_RAW — DECRYPT_RAW that returns NULL instead of erroring.