DaveAmour 160 Mmmmmm beer Featured Poster

I have been coding in C# for 13 years and happy to help anyone if they need help just ask away.

ddanbe commented: Try a Duvel! +15
DaveAmour 160 Mmmmmm beer Featured Poster

Shit I am probably going to get banned now!

Apologies, too much birthdy whisky

<M/> commented: lol +0
DaveAmour 160 Mmmmmm beer Featured Poster

My grandfather has been ill recently so we rubbed lard on his back but then he went downhill really fast.

Reverend Jim commented: Boo! +0
<M/> commented: XD +0
DaveAmour 160 Mmmmmm beer Featured Poster

There is a bug on the site. I was able to send a message to myself.

Should this be allowed? How do I know it was from me? Maybe it was from future me????

DaveAmour 160 Mmmmmm beer Featured Poster

Cursors are slow. Avoid them if you can, it will be much faster.

DaveAmour 160 Mmmmmm beer Featured Poster

I've been happily maried for 6 years.

Miserable for the oher 4.

DaveAmour 160 Mmmmmm beer Featured Poster

Hi

A hashed password in my system looks something like this:

$2a$10$dfLab4y467mdxJeSDlvAIOOjKmrW8Tbm80IN9qm5WVd7ALGZTQkBe

In my table they are all the same length - this is usually part of the hashing algorithm.

When someone attempts to logon you take the password they typed in and hash it. You then compare it with the hashed password in the database. If they are the same then you can log them on. If someone were to get their hands on your database they would not be able to use the passwords as they would not know what the actual password is. It is practically impossible to reverse a hash.

Check out http://en.wikipedia.org/wiki/Cryptographic_hash_function

I don't do PHP so cannot advise on the second part of your question. Generally hashes are the same length. All of them in my table are 60 chars.

From wikipedia: A hash function is any function that can be used to map digital data of arbitrary size to digital data of fixed size.

Hope that helps.