PHP Classes

Read encrypted data: I need to read encrypted passwords stored in MySQL

Recommend this page to a friend!
  All requests RSS feed  >  Read encrypted data  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Read encrypted data


Picture of Juan C. Alvarez by Juan C. Alvarez - 8 months ago (2023-03-08)

I need to read encrypted passwords stored in MySQL

This request is clear and relevant.
This request is not clear or is not relevant.


I am preparing a script to run several cron processes.

A MySQL table stores companies' smtp credentials and passwords encrypted using the crypto algorithm 'aes-256-cbc'.

The idea is to read the encrypted info to use it for sending scheduled messages.

Ask clarification

1 Recommendation

PHP Simple Encryption and Decryption: Encrypt and decrypt data

This recommendation solves the problem.
This recommendation does not solve the problem.


Picture of Manuel Lemos by Manuel Lemos Reputation 23325 - 8 months ago (2023-03-13) Comment

You just need to use the same algorithm to decrypt the credentials that you used to encrypt those credentials.

Recommend package