0

I've encrypted password in db2 cloud. However, how to decrypt it?

Any idea 🤔

2nd Nov 2019, 1:02 PM
Monjo
Monjo - avatar
4 ответов
+ 1
I don't have experience with DB2, but as I understand it (in practice), passwords are better off be hashed rather than be encrypted. This is because hashing algorithms are supposed to generate non reversible result, whereas encrypt (usually) has a counter decrypt method. Try to search the net for DB2 password hash methods and techniques. I'm pretty sure you'll find some good tutorial and examples 👍
4th Nov 2019, 7:48 AM
Ipang
+ 1
Aha. Thanks I'll look for it.
4th Nov 2019, 7:56 AM
Monjo
Monjo - avatar
0
Encrypt or hash? hash is technically irreversible IIRC. Since you're the one who's encrypting it, shouldn't you know already the way to decrypt it? Which method you used to do it can you tell?
2nd Nov 2019, 3:21 PM
Ipang
0
The thing is I was trying to create a database table and I didn't want to reveal passwords of the workers. So, I Googled to encrypt it in db2 so I did as encrypt (('xuiokb') , 'quiojhkkbb') That's why, Is there any way to not show the password in database table?
4th Nov 2019, 7:27 AM
Monjo
Monjo - avatar