LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-23-2005, 06:29 PM   #1
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
Question radius encrytion question


i setup a radius server for AAA. i have an encrytion question. What is the difference between reversible encryted form and non reversible encryted?
For best security pratice, which one should i use?
 
Old 11-24-2005, 03:35 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
It is a slight abuse of the word "encryption," but basically it goes like this ...

Suppose that your password was "secret." A reversible algorithm would be able to recover the actual word used. If someone asked the system administrator, "I forgot my password... what is it?" then the sysadmin would be able to tell them.

Per contra, a non-reversible algorithm subjects the password-string to a transformation, or "hash," that only goes one way. You can never determine which word it was that was hashed. But you can take whatever the user has typed in, hash it the same way, and compare the two hashed strings. If, and only if, they are equal, then the user must know the password. Otherwise all that we know is that whatever he typed in was "wrong." In this case, the sysadmin would have to reply, "No, I cannot tell what it was either, but I can change it. What do you want your password to be?"

Usually, a non-reversible algorithm is better.
 
Old 11-24-2005, 05:15 PM   #3
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
thanks for the info sundialsvcs

yeah i know this is not microsoft forum. I am using CHAP, what i notice it require reversiable encryp to work properly with microsoft AD.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RADIUS and Others wwnexc Linux - Networking 4 10-31-2005 01:30 PM
MD5 password encrytion metallica1973 Linux - Security 9 07-20-2005 10:50 AM
lan with radius umair Linux - Networking 0 05-08-2004 08:19 AM
Radius gummimann Linux - Networking 0 02-04-2004 03:43 AM
Radius Help PuNkErX Linux - Networking 1 10-02-2003 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration