Friday, March 16, 2012

Password encryption

Hi,

I'm using an Access-database to store my data.
I'm going to encrypt the user's password using MD5.
This will give me a password as a binary of 16 long.

Does anyone know what type I need to give to my column in my
Access-database?
I can seem to find the binary-type.

ThxWhat you can do is use the
FormsAuthentication.HashPasswordForStoringInConfig File() method.
This will returns you a ash of your password in a string format. It could be
easier to store it in dB.

Jos
"Bart Schelkens" <BSchelkens@.hotmail.com> wrote in message
news:%235aGvRPhEHA.3928@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I'm using an Access-database to store my data.
> I'm going to encrypt the user's password using MD5.
> This will give me a password as a binary of 16 long.
> Does anyone know what type I need to give to my column in my
> Access-database?
> I can seem to find the binary-type.
> Thx
Thanks for the info.

It works just great now.

"Jos Joye" <jose.joye@.KILLTHESPAMSbluewin.ch> wrote in message
news:uvkTkDQhEHA.3236@.TK2MSFTNGP10.phx.gbl...
> What you can do is use the
> FormsAuthentication.HashPasswordForStoringInConfig File() method.
> This will returns you a ash of your password in a string format. It could
be
> easier to store it in dB.
> Jos
> "Bart Schelkens" <BSchelkens@.hotmail.com> wrote in message
> news:%235aGvRPhEHA.3928@.TK2MSFTNGP11.phx.gbl...
> > Hi,
> > I'm using an Access-database to store my data.
> > I'm going to encrypt the user's password using MD5.
> > This will give me a password as a binary of 16 long.
> > Does anyone know what type I need to give to my column in my
> > Access-database?
> > I can seem to find the binary-type.
> > Thx

0 comments:

Post a Comment