I want to be sure how secure this one way password encryption method is.
The user enters a password which is between 5 and 31 digits long
and the following formula is used to encrypt the password;
31 * 0 + (decimal value of 1st digit) = A
31 * A + (decimal value of 2nd digit) = B
31 * B + (decimal value of 3rd digit) = C
31 * C + (decimal value of 4rd digit) = D etc etc
and the last result (in this case D) is stored as the password.
password = infinity
Decimal values for digits; i=105, n=110, f=102, i=105, n=110, i=105, t=116, y=121
value stored in database = 2989470411304
How secure is this? How easy can someone decrypt this password?
Is this a secure enough system for a Banking Application?