<nephtali>

A simple, flexible, fast, and security-focused PHP framework
Nephtali documentation

API documentation

n\security

Security functions, including encryption, decryption.

Functions

  • string|int decrypt(string $cipher_text, string|int $key, string|int $hmac_key)

    Decrypts strings encrypted with the encrypt() function (which uses Rijndael 256.)

  • string encrypt(string|int $plain_text, string|int $key, string|int $hmac_key)

    Encrypts value using Rijndael 256.

  • mixed hash_hmac(string|int $value, string|int $key, array $opts)

    Create a hashed message authentication code

Nephtali namespaces