info > Dpkg::Checksums

πŸ“› NAME

Dpkg::Checksums - generate and manipulate file checksums

πŸš€ Quick Reference

Use CaseCommandDescription
Create a checksums object$ck = Dpkg::Checksums->new()Initialise a fresh handler
Add checksums from a file$ck->add_from_file($filename)Compute and store checksums for a file
Add checksums from a string$ck->add_from_string($alg, $value)Parse and store checksum data
Export to a control object$ck->export_to_control($control)Write Checksums-* fields into a Dpkg::Control object
Export to a string$ck->export_to_string($alg)Generate a multi‑line checksum string
Get a specific checksum$ck->get_checksum($file, $alg)Retrieve the stored checksum for a file
List supported algorithmschecksums_get_list()Return all known checksum types

πŸ“– DESCRIPTION

This module provides a class that can generate and manipulate various file checksums as well as some methods to query information about supported checksums.

πŸ“‹ FUNCTIONS

πŸ› οΈ METHODS

πŸ”„ CHANGES

πŸ”„ Version 1.04 (dpkg 1.20.0)

Remove warning: For obsolete property 'program'.

πŸ”„ Version 1.03 (dpkg 1.18.5)

New property: Add new 'strong' property.

New member: $ck->has_strong_checksums().

πŸ”„ Version 1.02 (dpkg 1.18.0)

Obsolete property: Getting the 'program' checksum property will warn and return undef, the Digest module is used internally now.

New property: Add new 'name' property with the name of the Digest algorithm to use.

πŸ”„ Version 1.01 (dpkg 1.17.6)

New argument: Accept an options argument in $ck->export_to_string().

New option: Accept new option 'update' in $ck->add_from_file() and $ck->add_from_control().

πŸ”„ Version 1.00 (dpkg 1.15.6)

Mark the module as public.

1.21.1 2025-09-09 Dpkg::Checksums(3perl)

Dpkg::Checksums
πŸ“› NAME πŸš€ Quick Reference πŸ“– DESCRIPTION πŸ“‹ FUNCTIONS πŸ› οΈ METHODS πŸ”„ CHANGES
πŸ”„ Version 1.04 (dpkg 1.20.0) πŸ”„ Version 1.03 (dpkg 1.18.5) πŸ”„ Version 1.02 (dpkg 1.18.0) πŸ”„ Version 1.01 (dpkg 1.17.6) πŸ”„ Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.9.25-3-gdbaf087 Author: Che Dong Under GNU General Public License
2026-07-06 23:13 @216.73.217.93
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format