473,386 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to encryt and decrypt passwords

nurikoAnna
Good day

I am rejoice

I need help in my program. I am making user management, the problem is I don't know how to encrypt the passwords as I click the save button in my mySQL database so that no one can know the passwords...please help me...just simple codes....please...
Dec 22 '08 #1
6 1903
debasisdas
8,127 Expert 4TB
you use some simple string functions for the purpose of encrypting and reverser the processing during decrypting.
Dec 22 '08 #2
how ????? I don't know how???
Dec 22 '08 #3
danp129
323 Expert 256MB
go to pscode.com
Search for 'decrypt' with the "Visual basic" drop down selected.

Good luck
Dec 22 '08 #4
debasisdas
8,127 Expert 4TB
try to use string functions like left,mid,substring,right etc for simple encryption.
Dec 23 '08 #5
smartchap
236 100+
Alongwith Left, mid$, etc functions use CHR$ and ASC functions. With these convert your password to some other word. e.g. say your password is 'PAWAN' after encrypting can change it to 'SDZDQ', i.e. added 3 to each word's ascii value. Similarly decrypt the typed input.
Dec 24 '08 #6
EYE4U
75
You can also define your own characte set to decrypt or encrypt you password.

http://bytes.com/topic/visual-basic/...ge#post3475038

Regards
ARUZ
Mar 29 '09 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Dica | last post by:
i've used the sample code from msdn to create an encyption/decryption assembly as found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp i'm...
7
by: Vishal | last post by:
Hello, I used this article (http://aspnet.4guysfromrolla.com/articles/103002- 1.2.aspx) to encrypt my password. Now I need to decrypt the password again to a string. Is that possible, if so...
1
by: Microsoft | last post by:
Hi I'm not able to find a newsgroup for classic asp so I'm writing here hoping someone can help me So, I have to encrypt and also decrypt some user passwords I know md5 algoritm is a one way...
4
by: hohans | last post by:
Hi all, I have an encryption class that encrypts and decrypts password using TripleDESCryptoServiceProvider. It was written originally in framework 1.0 and been working fine. And those...
0
by: Hannibal111111 | last post by:
I found this code on a site for doing string encryption/decryption. The string will encrypt fine, but I get this error when I try to decrypt. Any idea why? I posted the code below. The error...
2
by: Bernard Dhooghe | last post by:
The information center writes: "Encryption Algorithm: The internal encryption algorithm used is RC2 block cipher with padding, the 128-bit secret key is derived from the password using a MD2...
2
by: jhagerty | last post by:
Hi all, I have a SQL server table which holds passwords encrypted using the Cold Fusion Descrypt() function. Theoretically, I should be able to use the crypto services in .NET to decrypt these...
4
by: Gilles Ganault | last post by:
Hello I'd like to encrypt a customer's organization name to use this as their password to launch our application, and decrypt it within our VB5 application. We will then use this information...
4
by: kiranbabu | last post by:
Any one help me how to encrypt and decrypt passwords.And the password field is in database(mysql database) how to encrypt and decrypt that password saved in database.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.