I do get that MD5() scrambles a password, but how do you then
unscrable it? I want to get $password from the user, scrable it, then
append it to every link. 3 4225
On 17 Aug 2003 14:18:09 -0700, lk******@geocit ies.com (lawrence) wrote: I do get that MD5() scrambles a password, but how do you then unscrable it?
You don't, it's impossible.
You store the MD5 of the password. Then when a password is entered in the
future, you MD5 that and compare it with the previously stored MD5. If they
match, the passwords match. Part of the idea of this is that the original
password isn't stored, so even if the table was read by crackers the passwords
wouldn't be revealed.
--
Andy Hassall (an**@andyh.co. uk) icq(5747695) ( http://www.andyh.co.uk)
Space: disk usage analysis tool ( http://www.andyhsoftware.co.uk/space)
The MD5 function can be use to encrypt a password, but there is no PHP
function to decrypt it. I suppose you could brute force an MD5 hash but then
why would you want to append that to a link?
"lawrence" <lk******@geoci ties.com> wrote in message
news:da******** *************** **@posting.goog le.com... I do get that MD5() scrambles a password, but how do you then unscrable it? I want to get $password from the user, scrable it, then append it to every link.
On 17 Aug 2003 14:18:09 -0700, lk******@geocit ies.com (lawrence) scrawled: I do get that MD5() scrambles a password, but how do you then unscrable it? I want to get $password from the user, scrable it, then append it to every link.
MD5 isn't an encryption algorithm - it is a checksum algorithm - and
so is designed to be one way (it's actually a many - one algorithm) so
two passwords may check sum to the same value (although) this is unlikely
for such short strings.
Baggy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Christian Meisinger |
last post by:
hi.
has anyone tryed to check .htpasswd passwords with php?
everythink works fine as long as they are encrypted with
the default CRYPT mode of apaches htpasswd.
crypt($pass, $htpass) === $htpass
but how to check MD5?
if you use ./htpasswd -m .htpasswd user
|
by: Leandro Lameiro |
last post by:
Hi folks
Recently I have been discussing with a friend about python ease of
use, and it is really good at this. This friend needed to calculate
the MD5 hash of some files and was telling me about the MD5 module.
The way he told me and how it is described in the Python Docs, the
method to calculate hashes did not seemed very pythonic to me, but it
was certainly very simple and easy:
The method is (taken from python official...
|
by: Miso Hlavac |
last post by:
Hello,
Sorry for just stupid question, but I need use md5 function in 7.4
When I write:
select md5('text');
ERROR: Function md5("unknown") does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
where is problem???
|
by: timothylg |
last post by:
I am trying to implement Digest-MD5 auth (smtp/imap ver, rfc 2831
http://www.faqs.org/rfcs/rfc2831.html). I have a working example of
this in php (which I gleamed form the Pear project), I'm trying to
port this to c#, this is where I am beginning to run into problems.
In PHP I recieve the expected results, but in C# I do not. I believe
that this might be an encoding problem (The text being hashed should
be in ascii, and I believed that I...
|
by: Adrian Grigorof |
last post by:
Hi all,
I am trying to generate an MD5 hash for a string (ABC) but I am getting a
different hash when I use the C# program below vs. a script I wrote in Perl
or other MD5 programs. Here is the relevant C# code:
string sData = "ABC";
string sResult = "";
Byte data1ToHash = ConvertStringToByteArray(sData);
byte hashvalue1 = ((HashAlgorithm)
| |
by: nonameisfree |
last post by:
I am trying to get StartUp-Manager to write the grub password in encrypted form to menu.lst. Currently it writes the password in plain-text and that is not too clever...
This is the function I currently use:
def on_update_password_button_clicked(self, widget):
if self.password_entry.get_text() == self.confirm_password_entry.get_text():
password=self.password_entry.get_text()
if...
|
by: Acrobatic |
last post by:
I'm trying to store user passwords in a MySQL database. I learned the
hard way that using MySQL "DECODE" and "ENCODE" doesn't seem to work
cross-platform, but if I encrypt on the server side with PHP's md5
function, will it work cross-platform (or cross-processor?)
Thank you for any advice
|
by: Python |
last post by:
Hi there!
I'm trying to match the results of an md5 checksum done in a tcsh shell.
I keep getting different results and can't find anything on google...
here's an example:
Arno@Computer:~% echo "hello" | md5
b1946ac92492d2347c6235b4d2611184
|
by: est |
last post by:
>>import md5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python25\lib\pickle.py", line 1366, in dumps
Pickler(file, protocol).dump(obj)
File "C:\Python25\lib\pickle.py", line 224, in dump
self.save(obj)
File "C:\Python25\lib\pickle.py", line 306, in save
rv = reduce(self.proto)
File "C:\Python25\lib\copy_reg.py", line 69, in _reduce_ex
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |