Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-10-2003, 09:33 AM   #1 (permalink)
trevor
Code Monkey
 
Join Date: Jan 2003
Location: Canada
Posts: 91
trevor is on a distinguished road
perl crypt()

i was just wondering what encryption the perl command crypt(); uses, ie. md5 md4 etc....

thanks,
Trevor
trevor is offline   Reply With Quote
Old 11-10-2003, 09:50 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,151
Belisarius is on a distinguished road
Not that I'm a perl user, but I'd assume it uses the Unix crypt() algorithm.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 11-10-2003, 10:10 AM   #3 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
i would imagine it's a straightforward passthrough to the system crypt(3) function. in classic mode, crypt(3) produces a salted DES 'hash'. most bsd systems (and i bet some linux), allow you to select a more powerful algorithm (md5, blowfish, etc) by special variations of the salt value.

if you want strong hashes, don't use crypt (unless you're using it in extended mode and selecting a stronger algorithm). use md5, sha, or ripemd instead.
joe_bruin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
{perl} HTTP Error Code Response gty All Other Coding Languages 2 09-08-2004 11:09 AM
how come i dont hear much about perl Apodysophilia All Other Coding Languages 2 12-16-2003 10:05 AM


All times are GMT -8. The time now is 09:39 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting