LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-07-2003, 09:29 AM   #1
shakeeb
Member
 
Registered: Oct 2003
Location: ind..
Distribution: Fedora Core 1,RH9
Posts: 52

Rep: Reputation: 15
Unhappy Password encryption???:


OK...for that matter any Open Source encryption algo . is supposed to have a decryption algo. too, so then how come the passwords are secure ( in linux and others like BSD,if i get your encrypted password i cold just decrypt it...this is obviously not true how does it work.?????????????????? i get your encrypted password i cold just decrypt it...this is obviously not true how does it work.??????????????????
 
Old 11-07-2003, 09:41 AM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Passwords are not encrypted, they are put through a one-way hash algorithm. To check if a password is valid it is hashed and the result compared with the stored hash.
 
Old 11-07-2003, 09:47 AM   #3
evil_Tak
Member
 
Registered: Oct 2003
Distribution: Debian/unstable
Posts: 85

Rep: Reputation: 15
Not only that, but it's not true that every encryption algorithm has a decryption algorithm. There are many one-way functions, a simple example being modulus. Also, even if there are encryption and decryption algorithms, the keys for encryption and decryption may be different. Therefore, even if you know the algorithm and you know the key I used to encrypt the data, you still can't decode the data without the separate decryption key.
 
Old 11-07-2003, 10:28 AM   #4
shakeeb
Member
 
Registered: Oct 2003
Location: ind..
Distribution: Fedora Core 1,RH9
Posts: 52

Original Poster
Rep: Reputation: 15
so what is the key used in linux..is it selected at random is there anyway to know it:after all its open source rite: ) even if its random iwont it be there in ascii chars???
 
Old 11-07-2003, 07:50 PM   #5
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
There is no key. The algorithm is not reversable.

Password cracking program work by encrypting lots of possible passwords
sucha as every work in the dictionary and seeing if the result matches.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux password encryption jawad bokhari Linux - Security 13 08-23-2012 07:26 PM
Password Encryption morningkiran Linux - Security 2 10-10-2004 07:17 AM
password encryption is changing inetw Linux - Security 7 10-04-2004 09:00 PM
WEP encryption password fatrandy13 Linux - Wireless Networking 14 09-15-2004 02:39 PM
password encryption Lanmate Linux - Security 2 12-26-2003 04:15 AM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration