TAILIEUCHUNG - Cracker Handbook 1.0 part 196

Tham khảo tài liệu 'cracker handbook part 196', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | if memcmp Output val i 32 printf failed n return 1 printf passed. n printf n else if f fopen argv 1 rb perrOr fOpen return 1 md5_starts ctx while i fread buf 1 sizeof buf f 0 md5_update ctx buf i md5_finish ctx md5sum for j 0 j 16 j printf 02x md5sum j printf s n argv 1 return 0 endif thanks các bác nếu các bác co rùi thì tha lỗi cho thằng em lanh chanh này nghe PRZYTUL tung776 iện đây xin giới thiệu với các bạn một thuật toán mã hóa nữa. Nhưng thú thật mình cũng chưa biết rõ về nó vì mình chưa học C nhưng mình post lên hi vọng có cao thủ hiểu SHA-1 Source Code This optimized SHA-1 implementation conforms to FIPS-180-1. Code ifndef _SHA1_H define _SHA1_H ifndef uint8 define uint8 unsigned char endif ifndef uint32 define uint32 unsigned long int endif typedef struct uint32 total 2 uint32 state 5 uint8 buffer 64 sha1_context void sha1_starts sha1_context ctx void sha1_update sha1_context ctx uint8 input uint32 length void sha1_finish sha1_context ctx uint8 digest 20 endif FIPS-180-1 compliant SHA-1 implementation Copyright C 2001-2003 Christophe Devine This program is free software you can redistribute it and or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License or at your option any later version. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program if not write to the Free Software Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA include include define GET_UINT32 n b i n uint32 b i 24 uint32 b i 1 16 uint32 b i 2 8 uint32 b i 3 define PUT_UINT32 n b i b i uint8 n 24

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.