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

Edit

Picture of Juan C. Alvarez by Juan C. Alvarez - 2 years 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.

+2

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 package can be used to encrypt and decrypt data.

It can take a given string of data and encrypt it using a given key string.

The package can also do the opposite, i.e. decrypt previously encrypted data using the same key.

It supports many types of encryption cyphers. By default it uses AES-256-CBC.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 2 years 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
: 
: