473,395 Members | 1,532 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,395 software developers and data experts.

Simple Encryption and Decryption

I'm developing a web application and I'm trying to find a simple way to
encrypt and decrypt a password field. A one-way encryption won't work since
I need to be able to e-mail users their password if they loose it.

I have searched MSDN and there are obviously many VERY complex encryption
services available - I don't need certificates or PKI, Kerberos, etc - just
something simple:

* for example:

key=(value I set)

scrambledpassword = simpleencrypt(inpassword,key)

unscrambledpassword = simpledecrtyp(scrambledpassword,key)

Any help would be GREATLY apprecaited!

Thanks,

Fred

Nov 20 '05 #1
2 1264

There is many posts relating to this in microsoft.public.dotnet.security....
try your luck there...


"Fred Nelson" <fr**@smartybird.com> wrote in message
news:uG****************@tk2msftngp13.phx.gbl...
I'm developing a web application and I'm trying to find a simple way to
encrypt and decrypt a password field. A one-way encryption won't work since I need to be able to e-mail users their password if they loose it.

I have searched MSDN and there are obviously many VERY complex encryption
services available - I don't need certificates or PKI, Kerberos, etc - just something simple:

* for example:

key=(value I set)

scrambledpassword = simpleencrypt(inpassword,key)

unscrambledpassword = simpledecrtyp(scrambledpassword,key)

Any help would be GREATLY apprecaited!

Thanks,

Fred

Nov 20 '05 #2
Thank you - I have posted the message there!

Fred

<-> wrote in message news:uy**************@TK2MSFTNGP09.phx.gbl...

There is many posts relating to this in microsoft.public.dotnet.security.... try your luck there...


"Fred Nelson" <fr**@smartybird.com> wrote in message
news:uG****************@tk2msftngp13.phx.gbl...
I'm developing a web application and I'm trying to find a simple way to
encrypt and decrypt a password field. A one-way encryption won't work

since
I need to be able to e-mail users their password if they loose it.

I have searched MSDN and there are obviously many VERY complex encryption services available - I don't need certificates or PKI, Kerberos, etc -

just
something simple:

* for example:

key=(value I set)

scrambledpassword = simpleencrypt(inpassword,key)

unscrambledpassword = simpledecrtyp(scrambledpassword,key)

Any help would be GREATLY apprecaited!

Thanks,

Fred


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: D. Alvarado | last post by:
On my Fedora Core 2 Linux dev box, I have installed mcrypt and compiled PHP with the --with-mcrypt option. I am concerned that when I move to another hosting enviornment mcrypt will not be...
1
by: Jase H | last post by:
Hello, I have a ASP.NET web application problem involving the data encryption and decryption assembly(DLL) used on the connection string value that is set in the webconfig file. The problem...
2
by: Dave Bailey | last post by:
I have developed a web app using DPAPI to encrypt a connection string in the web.config file. The application works perfectly on the development machine but when deployed to the server when...
2
by: sushant.bhatia | last post by:
Hi All. I'm using the NCrypto dll for RSA Encryption/Decryption (http://sourceforge.net/projects/ncrypto/). My encryption code in .Net is pretty simple. The dataToEncrypt length is 1024. The...
3
by: Mike | last post by:
Hi, I have been experimenting with the RijndaelManaged Cryptography class in C# and have stumbled upon a "peculiarity". Following code is standalone Console App that demonstrates using...
2
by: almurph | last post by:
Hi everyone, Can you help me please? I am having a problem with the encryption/decryption of words with the Irish fada in them. The Irish fada is like this: áéíóú/ÁÉÍÓÚ. It's kind of like the...
3
by: =?Utf-8?B?TG9yZW4=?= | last post by:
I’m trying to encrypt and decrypt a file in vb.net. I am using the TripleDESCryptoServiceProvider encryption found in System.Security.Cryptography. Below is the code for my Encrypt and Decrypt...
5
by: Netwatcher | last post by:
well, i started messing around with dictionaries, yet, most of the pages i found about them always talk about getting only one word out of it and turning it vice versa, i've been playing with that...
9
by: Betikci Boris | last post by:
I get bored last night and wrote a script that uses xor for encrypt- decrypt, however it woks fine under linux 2.6.25, text and documents are ok, but fails on compressed files *.jpg, *.pdf , etc ....
9
by: Alan M Dunsmuir | last post by:
In my (PHP-5) application I have to write some records to a table in my database, which I don't want even my clients using the system to be able to read. This is not a problem in National...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.