Name
GenCrc32.exe 
Synopsis
GenCrc32 -e|-d [options] <inputFile>
Description
GenCrc32 tool is used to generate CRC32 value when encode the input file, then put the calculated CRC32 value into the output file header, and put the input file into the output file tail. When decode the input file, GenCrc32 is used to verify the CRC32 value. If CRC32 value is valid, the input file except for CRC32 value will be written to the output file. If CRC32 value is not valid, the error message will output, and the output file will not be created.
Options
-e  Calculate CRC32 value for the input file.
-d  Verify CRC32 value for the input file.
-o, --output Filename
      File will be created to store the ouput content.
--version
        Print version and copyright of this program and exit
-v, --verbose
      Turn on verbose output with informational messages printed. This is a count value, so specifying –v can be used to increase the verbosity level.
-q, --quiet
	 Disable all messages except FATAL ERRORS
--debug [0-9]
	 Enable debug messages. Only 0-9 Level is supported.
-h, --help
	 Print copyright, version and usage of this program and exit
Example
1. Calculate CRC32 value for the input file “file.sec” and write the CRC32 value and input file into the output file "file.crc32".
GenCrc32 –e –o file.crc32 file.sec
2. Verify CRC32 value of the input file "file.crc32" and write the input file (not including CRC32 value) to the output file "file.orig"
GenCrc32 –d –o file.orig file.crc32
3. Verify CRC32 value of the input file "file.crc32" in the quiet mode and write the input file (not including CRC32 value) to the output file "file.orig"
GenCrc32 –d -q –o file.orig file.crc32
Bugs
No known bugs.
Report bugs to edk2-buildtools-devel@lists.sourceforge.net
Files
None
See also
None
License
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.