N
N
Northern Lights2019-09-16 16:32:42
Encryption
Northern Lights, 2019-09-16 16:32:42

Encryption algorithm with decryption?

There is a task - to put passwords in the cipher form in an Oracle DB.
The PHP application must be able to retrieve this data and decrypt the .
The classic scheme applicable to the web with one-way encryption through an algorithm like md5 with a salt is not suitable - it is password decryption that is needed .
What tools can be used to do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-09-16
@Zoominger

Offhand - we encrypt passwords with some key (password) using any suitable algorithm.
We decrypt on the PHP side with the same key.
There are hundreds of algorithms, classic - AES, you can GOST, you can Kuznechik (yes, there is one), you can any other that is supported in PHP.
This is hashing.

R
rPman, 2019-09-16
@rPman

https://habr.com/en/post/257439

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question