litto/passwordencryptor

Password Encryptor Functions

v1.0 2022-02-07 10:16 UTC

This package is auto-updated.

Last update: 2025-07-07 17:51:47 UTC


README

Password Encryptor Small library for PHP Website

How to Install?

You can install by using command

composer require litto/passwordencryptor:v1.0

How to Use?

    $txtPassword="test@123";
    $key    =   rand(0,9999).rand(111,999);
    $crypt  = new Crypt; 
    $crypt->crypt_key($key);// Get encryption key
    $password = $crypt->encrypt($txtPassword);  // encrypt username