crypt()ÊÇÒ»¸ö¿ÚÁî¼ÓÃܺ¯Êý£¬Ëü»ùÓÚDESËã·¨¡£ÎÒÃÇ¿ÉÒÔÈÏΪÕâÊÇÒ»¸öµ¥Ïò¼ÓÃܲÙ×÷
º¯ÊýÔÐÍ£º
char *crypt(const char *key, const char *salt);
*saltÊÇÁ½¸ö×Ö·û£¬Ã¿¸ö×Ö·û¿É´Ó[a-zA-Z0-9./]ÖÐÑ¡³öÀ´
Ëã·¨
UNIX±ê×¼Ë㷨ʹÓÃDES¼ÓÃÜËã·¨£¬ÓÃkey¶ÔÒ»¸ö³£Á¿½øÐмÓÃÜ£¬»ñµÃÒ»¸ö13×Ö½ÚµÄÃÜÎıàÂëÊä³ö£¬ÆäÖаüÀ¨saltµÄÁ½¸ö×Ö·û[from Red Hat Linux 6.2]
SaltµÄ×÷ÓÃ
ͬÑùµÄ¿ÚÁî²úÉú²»Í¬µÄÃÜÎÄ
Ôö¼ÓÁËÇî¾Ù¿Õ¼ä
½¨ÒéʹÓøüΪ°²È«µÄMD5Ëã·¨
w1e3 ÓÚ 2012-08-25 09:02:32·¢±í:
Ŷ£¬Å¶£¬ Ŷ
securities5 ÓÚ 2012-08-10 18:37:53·¢±í:
×î½ü¾ÍҵѹÁ¦´ó£¬¾³£°¾Ò¹£¬ºÚÑÛȦԽÀ´Ô½ÉÈÈ·ó°´Ä¦¶¼Ã»ÓÐʲôЧ¹û£¬ÅóÓѽéÉÜÎÒ·þÓõÂÀö˹¿µ½ºÔµ°°×3¸ö¶àÔ£¬²»½öºÚÑÛȦÏûʧ¸É¸É¾»¾»£¬Ð¡ÑÛ´üÒ²²»¼ûÁË£¬Ñ۽ǵÄϸÎƶ¼¸§Æ½¸É¾»¡£
bbjc ÓÚ 2012-06-22 16:30:27·¢±í:
Ŷ£¬Á˽âÁ˽â
°ë²½ÌìÑÄ ÓÚ 2012-06-22 11:38:34·¢±í:
Ŷ£¬»¹Ã»Ñ§Ï°ÕâЩ¶«Î÷£¬²»Ôõô¿´µÃ¶®