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

Password Storage

I noticed that in *nix environments (gnu library) they have a crypto library for
encrypting passwords (along with doing other things). In .Net, I do not see
anything that I can use for mimic'ing this functionality without writing my own
encryption for storing passwords in a text file. Is there any such thing or
shall I just write one?
Basically, I want to encrypt a string to store in a plain text file that will be
stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran
Nov 16 '05 #1
6 2056
Mythran,

Check out the classes in the System.Security.Crytography namespace.
There are a number of classes there that will enable you to encrypt byte
strings in various ways (remember, text can ultimately be represented as a
bytes string).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mythran" <ki********@hotmail.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
I noticed that in *nix environments (gnu library) they have a crypto
library for
encrypting passwords (along with doing other things). In .Net, I do not
see
anything that I can use for mimic'ing this functionality without writing
my own
encryption for storing passwords in a text file. Is there any such thing
or
shall I just write one?
Basically, I want to encrypt a string to store in a plain text file that
will be
stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran

Nov 16 '05 #2
..NET has support for Crypto stuff.

What you probably want to use is something like a MD5 Hash.

look at System.Security.Cryptography Namespace and the MD5 Class.

Mythran wrote:
I noticed that in *nix environments (gnu library) they have a crypto library for
encrypting passwords (along with doing other things). In .Net, I do not see
anything that I can use for mimic'ing this functionality without writing my own
encryption for storing passwords in a text file. Is there any such thing or
shall I just write one?
Basically, I want to encrypt a string to store in a plain text file that will be
stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran

Nov 16 '05 #3
Thank you Arran and Nicholas.

Didn't even look that hard, just a question at top of my head and thought I
should ask...thanks again! :)

Mythran
"Arran Pearce" <arranpearce@NO_SPAMcellhire.com> wrote in message
news:ei**************@TK2MSFTNGP15.phx.gbl...
.NET has support for Crypto stuff.

What you probably want to use is something like a MD5 Hash.

look at System.Security.Cryptography Namespace and the MD5 Class.

Mythran wrote:
I noticed that in *nix environments (gnu library) they have a crypto library for encrypting passwords (along with doing other things). In .Net, I do not see
anything that I can use for mimic'ing this functionality without writing my own encryption for storing passwords in a text file. Is there any such thing or
shall I just write one?
Basically, I want to encrypt a string to store in a plain text file that will be stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran

Nov 16 '05 #4
Hi Mythran,

Just to add to what Nicholas and Arran said;

This link provides a good overview on managing password, salting, stretching
etc...though you might want to check it out.

- Rakesh Rajan
"Mythran" <ki********@hotmail.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
I noticed that in *nix environments (gnu library) they have a crypto library for encrypting passwords (along with doing other things). In .Net, I do not see anything that I can use for mimic'ing this functionality without writing my own encryption for storing passwords in a text file. Is there any such thing or shall I just write one?
Basically, I want to encrypt a string to store in a plain text file that will be stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran

Nov 16 '05 #5
Nice LINK! :P Where is it?

Mythran

"Rakesh Rajan" <ra**********************@hotmail.com> wrote in message
news:uC**************@TK2MSFTNGP12.phx.gbl...
Hi Mythran,

Just to add to what Nicholas and Arran said;

This link provides a good overview on managing password, salting, stretching
etc...though you might want to check it out.

- Rakesh Rajan
"Mythran" <ki********@hotmail.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
I noticed that in *nix environments (gnu library) they have a crypto

library for
encrypting passwords (along with doing other things). In .Net, I do not

see
anything that I can use for mimic'ing this functionality without writing

my own
encryption for storing passwords in a text file. Is there any such thing

or
shall I just write one?
Basically, I want to encrypt a string to store in a plain text file that

will be
stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran


Nov 16 '05 #6
Reeeeaaly sorry Mythran,

Here's it:
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

:)

- Rakesh Rajan

"Mythran" <ki********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP10.phx.gbl...
Nice LINK! :P Where is it?

Mythran

"Rakesh Rajan" <ra**********************@hotmail.com> wrote in message
news:uC**************@TK2MSFTNGP12.phx.gbl...
Hi Mythran,

Just to add to what Nicholas and Arran said;

This link provides a good overview on managing password, salting, stretching etc...though you might want to check it out.

- Rakesh Rajan
"Mythran" <ki********@hotmail.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
I noticed that in *nix environments (gnu library) they have a crypto

library for
encrypting passwords (along with doing other things). In .Net, I do not
see
anything that I can use for mimic'ing this functionality without
writing my own
encryption for storing passwords in a text file. Is there any such
thing or
shall I just write one?
Basically, I want to encrypt a string to store in a plain text file
that will be
stored on a publically accessible system (not really public, but for

show here...).

Thanks,

Mythran



Nov 16 '05 #7

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

Similar topics

0
by: Bright | last post by:
Dear All I'm after a multi-User password database so that I can centrally store system passwords and give granular access to individuals based on their own unique authentication (possibly a...
6
by: Mythran | last post by:
I noticed that in *nix environments (gnu library) they have a crypto library for encrypting passwords (along with doing other things). In .Net, I do not see anything that I can use for mimic'ing...
4
by: PJones | last post by:
I am looking for the best way to one way encrypt a password for storage in a database using (asp.net / vb.net) basically I need some functions or examples that I can freely use in a commercial...
6
by: Microsoft | last post by:
Im trying to do a new app where i can store most of my passwords, basically another "Password Keeper" style tool.... Question about this is what is the best way to store the data, as a plain XML...
4
by: Alvaro G. Vicario | last post by:
I’m writing a web application that needs to keep passwords in a database. These passwords are for third-party services and are different from the regular login passwords. I don’t like...
2
by: ^MisterJingo^ | last post by:
Hi all, I know storing passwords in an xml document is a pretty bad idea, but what are your thoughts on storing the passwords in an xml file on a secure server where I am the only person with...
11
by: cooltoriz | last post by:
Hello there, I just found that the compiled code won't hide the string variables so that I can see them by opening the execuable using Notepad. I have couple applications that have password...
3
by: pangsans | last post by:
hai all! i am going to store my user details to login from vb.net in a user table in sql.i would like to disguise the password column with dots or stars.how do i do that?kindly help.its urgent.i...
2
by: Max2006 | last post by:
Hi, We prefer ASP.NET Forms Authentication in our ASP.NET 3.5 application; however we have to use Active Directory for user name and password storage. Is that possible? Is there any sample...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.