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

Enable case insensitive password

Hello,
I am using a method similar to
http://blogs.bartdesmet.net/bart/arc...12/25/515.aspx
to store and retrieve passwords.

Is there a way I can make the passoword comparison case-insensitive? I
noticed that changing the case generated a completely different hash
result.

Thanks in advance,
Kannan

Nov 19 '05 #1
5 1448
Lowercase the thing before applying hash function

Helps?

George

<pv*******@yahoo.com> wrote in message news:11**********************@z14g2000cwz.googlegr oups.com...
Hello,
I am using a method similar to
http://blogs.bartdesmet.net/bart/arc...12/25/515.aspx
to store and retrieve passwords.

Is there a way I can make the passoword comparison case-insensitive? I
noticed that changing the case generated a completely different hash
result.

Thanks in advance,
Kannan

Nov 19 '05 #2
True, that would work for new user signups.

The problem is that there are over a thousand users already signed up
for our service.

I converted it to lower case and it generates a completly different
result.

Nov 19 '05 #3
pv*******@yahoo.com wrote in news:1128628245.639314.83330
@z14g2000cwz.googlegroups.com:
True, that would work for new user signups.

The problem is that there are over a thousand users already signed up
for our service.
Hashes are case sensitive, so to create a case insensitve hash, you'll need
to reset all the passwords : (
I converted it to lower case and it generates a completly different
result.


--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.

Newmarket Volvo Sucks! http://newmarketvolvo.tripod.com
Nov 19 '05 #4
I see only one partial solution then
Get 2 hashes one from lower case one from upper case and check both of them.

You will be in a trouble if guy used both Capital and lower case letters.

George.


<pv*******@yahoo.com> wrote in message news:11*********************@z14g2000cwz.googlegro ups.com...
True, that would work for new user signups.

The problem is that there are over a thousand users already signed up
for our service.

I converted it to lower case and it generates a completly different
result.

Nov 19 '05 #5
Dan
Check the lower case version, if it fails, check the case as typed, if it
passes, save the lower case hash result in the database. Next login for this
user is case insensitive.

<pv*******@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hello,
I am using a method similar to
http://blogs.bartdesmet.net/bart/arc...12/25/515.aspx
to store and retrieve passwords.

Is there a way I can make the passoword comparison case-insensitive? I
noticed that changing the case generated a completely different hash
result.

Thanks in advance,
Kannan

Nov 19 '05 #6

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

Similar topics

32
by: Elliot Temple | last post by:
Hi I have two questions. Could someone explain to me why Python is case sensitive? I find that annoying. Also, why aren't there multiline comments? Would adding them cause a problem of some...
5
by: Madjid Nasiri | last post by:
Hi, I am basic in oracle. My Old programs write with Delphi and Databases: Access, Paradox, MySQL, Microsoft SQL. I write my code (SQL code) case-insensitivae, but now i need use oracle database....
1
by: hortoristic | last post by:
We are using JavaScript to Enable/Disable certain fields on web pages based on business rules. A simple example is if when using an option type tag, and the two options are Yes and No. If YES...
12
by: Relaxin | last post by:
Is there a way to make Postgresql case-INSENSITIVE? Thanks
1
by: Joe | last post by:
Hi, I have a login script and right now it is not case sensitive. I want to make it case sensitive. The userid and password is stored in MS Access DB and not in web.config. Can someone give me...
14
by: Christian Sell | last post by:
Hello, I am running into a problem with PGs case sensitivity with regard to column and table names. I am using program components that require the object names returned from database metadata...
7
by: vunet.us | last post by:
So, I came across the problem every developer comes across with once: case in SQL. My users login with their selected user name and when SQL checks for user name value, case is ignored. For...
6
by: Derik | last post by:
Okay, I THINK this is a PHP question... I've been mucking with PHP for awhile now, but just recently I've been poking at some ajax stuff, and I ran into something confusing; my Queries were...
0
by: Ethan Furman | last post by:
Maric Michaud wrote: Actually, the OP said: -- So you're saying to ensure that stage_map's keys are initially -- lower-case to begin with? Well, I can't do this either since the -- *case of the...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.