Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Encryption and Decryption using RSA

by pradeepperl (Initiate)
on Feb 07, 2013 at 05:34 UTC ( #1017559=perlquestion: print w/ replies, xml ) Need Help??
pradeepperl has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks!

I am very new to perl i want to know how to encrypt and decrypt password using RSA pls help me out..,

Comment on Encryption and Decryption using RSA
Re: Encryption and Decryption using RSA
by vinoth.ree (Parson) on Feb 07, 2013 at 05:48 UTC
Re: Encryption and Decryption using RSA
by Anonymous Monk on Feb 07, 2013 at 06:33 UTC

    You really should not be using a general-purpose encryption/decryption algorithm such as RSA unless the decryption part is mandatory (hint: it isn't, 98% of the time). You should be using Crypt::Eksblowfish::Bcrypt to create a one-way hash out of the password. With a one-way hash, you can't decrypt and retrieve a password, which adds to the security.

    Which method is the correct one depends on your needs. Could you elaborate on them?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1017559]
Approved by vinoth.ree
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-07-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls