Preferred recovery method for storing passwords in a database

I want to save some passwords in my database on the server.

Passwords must be restored, since I want to use them for a third-party api that needs a password. (Therefore, I cannot use unidirectional methods like md5 ...)

What is the best way to store passwords in a database? Isn't there a better way to store plain text?

+2
source share
1 answer

AES is a cryptographically sound and probably the most common encryption mechanism (as opposed to hashing) chosen for new applications.

(IV) , , IV .

AES Rijndael,

http://blogs.msdn.com/b/shawnfa/archive/2006/10/09/the-differences-between-rijndael-and-aes.aspx

Rijndael FIPS-197 AES

IV . , . IV .

IV . .

, , web.config. . .

+2

Source: https://habr.com/ru/post/1535319/


All Articles