Implemented Fletcher-16 and Fletcher-32 checksum algorithms.

This commit is contained in:
2015-04-19 01:18:36 +01:00
parent 07cdb1cee5
commit 5fbcf3e96e
6 changed files with 505 additions and 0 deletions

View File

@@ -98,6 +98,14 @@ namespace DiscImageChef
HelpText = "Calculates CRC64 (ECMA).")]
public bool DoCRC64 { get; set; }
[Option("fletcher16", DefaultValue = false,
HelpText = "Calculates Fletcher-16.")]
public bool DoFletcher16 { get; set; }
[Option("fletcher32", DefaultValue = false,
HelpText = "Calculates Fletcher-32.")]
public bool DoFletcher32 { get; set; }
[Option('m', "md5", DefaultValue = true,
HelpText = "Calculates MD5.")]
public bool DoMD5 { get; set; }