• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How the user passwords are encrypted

Hello,

I am planning to programm an extra tool for my users to sent secure tickets.

Therefore I'd like to use a login that verify them agains the already existing passwords in the mysql_psa_account table.

I'have written an php file just to check if the encryption works correctly:

Code:
define('AES_128_CBC', 'aes-128-cbc');

$data = 'secrectpassword'
$ecryption_key = 'contentend /etc/psa/private/secret_key'
$encrypted = openssl_encrypt($data, AES_128_CBC, $encryption_key, 0);
echo "Encrypted: $encrypted\n";

So if I doublecheck the stored password in the mysql table againts my php file, they are diffrent.

Maybe some can help me out.

Thank you
Chris
 
Back
Top