people, just because you can see the formula does not mean you can break it as any good formulas are one way hence the password is encryted again to to see if it's correct.
As to if this formula is one way and how 'strong' it is could only be answered by someone who is good with maths which I am not. So Jim put your calculator away as it will not help you here!!LOL
Is it using a standard one-way encrytion formula or did you make one up ?