Package list libcryptx-perl / ac120fc
doc fixes Karel Miko 3 years ago
2 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
9494
9595 Returns checksum as unsigned 32bit integer.
9696
97 $checksum_hex = adler32_data_int('data string');
97 $checksum_int = adler32_data_int('data string');
9898 #or
99 $checksum_hex = adler32_data_int('any data', 'more data', 'even more data');
99 $checksum_int = adler32_data_int('any data', 'more data', 'even more data');
100100
101101 =head2 adler32_file
102102
118118
119119 Returns checksum as unsigned 32bit integer.
120120
121 $checksum_hex = adler32_file_int('filename.dat');
121 $checksum_int = adler32_file_int('filename.dat');
122122 #or
123 $checksum_hex = adler32_file_int(*FILEHANDLE);
123 $checksum_int = adler32_file_int(*FILEHANDLE);
124124
125125 =head1 METHODS
126126
9494
9595 Returns checksum as unsigned 32bit integer.
9696
97 $checksum_hex = crc32_data_int('data string');
97 $checksum_int = crc32_data_int('data string');
9898 #or
99 $checksum_hex = crc32_data_int('any data', 'more data', 'even more data');
99 $checksum_int = crc32_data_int('any data', 'more data', 'even more data');
100100
101101 =head2 crc32_file
102102
118118
119119 Returns checksum as unsigned 32bit integer.
120120
121 $checksum_hex = crc32_file_int('filename.dat');
121 $checksum_int = crc32_file_int('filename.dat');
122122 #or
123 $checksum_hex = crc32_file_int(*FILEHANDLE);
123 $checksum_int = crc32_file_int(*FILEHANDLE);
124124
125125 =head1 METHODS
126126