EagleML CheckSumHash Check Sum is an optional process which allows to ensure data integrity of data loaded. The idea here is to perform a checksum on the entire payload, not to use a designated column with a numeric value. Eagle identifies the default checksum/hash utility to use and runs it on UNIX or Windows (environment must have these utilities installed to use the CheckSum) .
Algorithm and Utilities
...
EagleML Hash Check Sum uses SHA256 (SHA-2 (SHA-256 or SHA-512). Rules involved in CheckSum process: ) algorithm.
Unix - sha256sum command from CoreUtilities packet
Windows - certUtil tool with -hashfile command
Rules
- eagle_ml-2-0_cm/out/tagvalue/acquire_data_files.xml
- eagle_ml-2-0_cm/out/tagvalue/execute_wrkfl_event.xml
- eagle_ml-2-0_cm/out/xml/task_reporter.xml
- eagle_ml-2-0_cm/unpacker/t_wrf_unzip_t.xml
- eagle_ml-2-0_cm/get_hash_sum.inc
Streams
...
- eagle_ml-2-0_default_cm_acquire_data
- eagle_ml-2-0_default_cm_execwkfl
- eagle_ml-2-0_default_cm_unpacker_exec
- eagle_ml-2-0_default_cm_task_reporter
...
Hash Sum Calculation
EagleML uses get_hash_sum.inc include to calculate the hash sum with SHA-2 algorithm. When the hash sum is resolved, utility returns it either in format for UNIX:
Code Block | ||
---|---|---|
| ||
53ddd800a3ef24a55414bd607d995fe121836375b71ecbeb9d8d0eba710cce4f SMF.xml |
or for Windows:
Code Block | ||
---|---|---|
| ||
SHA256 file hash of SMF.xml:
53ddd800a3ef24a55414bd607d995fe121836375b71ecbeb9d8d0eba710cce4f
CertUtil: -hashfile - the comand executed with success |
Input parameters:
:varFileName:
Output parameters:
:varHashSum:
:varHashSummError:
Scenarios of Hash Sum Checks Applied to EagleML Data Loads
Child pages (Children Display) |
---|