Notes posted by mildavw
RSS feed
mildavw -
December 7, 2012
0 thanks
Beware: default system crypt functionality silently ignores characters beyond the 8th
On some systems:
"1".crypt('aa') => "aacFCuAIHhrCM" "12".crypt('aa') => "aa8dJzr7DFMPA" "123".crypt('aa') => "aamrgyQfDFSHw" "1234".crypt('aa') => "aatxRPdZ/m52." "12345".crypt('aa') => "aajt.4s3e3SZA" "123456".crypt('aa') => "aaAN1ZUwjW7to" "1234567".crypt('aa') => "aaOK9MRbwVNmQ" "12345678".crypt('aa') => "aaNN3X.PL2piw" "123456789".crypt('aa') => "aaNN3X.PL2piw" "1234567890".crypt('aa') => "aaNN3X.PL2piw" "1234567890abcdefghij".crypt('aa') => "aaNN3X.PL2piw"