精華區beta NetSecurity 關於我們 聯絡資訊
※ 引述《task.bbs@cis.nctu.edu.tw (童心)》之銘言: : ==> 在 edwardc.bbs@bbs.nova.net.tw (那你就錯了..) 的文章中提到: : > 這就沒錯了, FreeBSD 使用比 DES 更為安全的 MD5 編碼, : > 密碼長度沒有限制. 當然編碼出來的字串也就比 DES 的 13 bytes 還長嘍 : > 想寫程式的話可以使用 crypt() , 它可以做出 DES 編碼 : > well, DES 不可逆, 所以是拿使用者輸入的密碼加密後 : > 與原先加密後的密碼比對 : > md5? 我沒有寫過用 MD5 編碼的程式, 那位有經驗的可以講解一下 :) : 有現成的MD5 function 可用, 是RSA Data Securityu, Inc.寫的~ MD5(3) FreeBSD Library Functions Manual MD5(3) NAME MD5Init, MD5Update, MD5Final, MD5End, MD5File, MD5Data - calculate the RSA Data Security, Inc., ``MD5'' message digest 這些..? 目前為止沒看過用 MD5 的程式, so 沒得"觀摩" ..ccCC -- History has taught us: never underestimate the amount of money, time, and effort someone will expend to thwart a security system. It's always better to assume the worst. Assume your adversaries are better than they are. Assume science and technology will soon be able to do things they cannot yet. --Bruce Schneier -- ★ 發信站: N O V A 資 訊 充 電 站(bbs.nova.net.tw) ◆ From: m108-21.dialup.