Click here to Skip to main content
14,920,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends...!

Please tell me how to encode and decode the passwords containing "==" like

1234 : WxisdfO/d02+U9YQKrQXpQ==

Abcd : hFQ/PN6UphWhW/X+g==

Abc@123 : U+suc1lQEmwmjxR/LqXtEQ==

Thanks
Posted

1 solution

Base64 is trivial - which is why you should not be using it!
https://msdn.microsoft.com/en-us/library/system.convert.tobase64string(v=vs.110).aspx[^]
https://msdn.microsoft.com/en-us/library/system.convert.frombase64string(v=vs.110).aspx[^]

It is not an encryption method, it is a translation method.

But the changes are that you are trying to reverse engineer these to obtain the original passwords - since these do not convert from Base64 directly back to your "original".
And we don't help with that in any way, shape, or form.
   
Comments
CPallini 27-Jul-15 5:55am
   
5.
SM Mustafa 27-Jul-15 7:34am
   
Thanks for your response sir.

Actually I am going to use an existing database in which this type of passwords used.
OriginalGriff 27-Jul-15 7:50am
   
Then you already have the code to do it.
SM Mustafa 3-Aug-15 9:37am
   
Thanks for response sir.

Actually we are using a web based software.

Now I am designing another web site for same user and i can't include my project in the existing web.

I just want use the user table from there. So that users can access both websites with same user user ID and password.
Pl help me sir. Thanks in advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900