Library to verify image data integrity by comparing SHA256 checksums
get_image_digest($image_path);
Returns image digest. Image path $image_path
is the parameter which is used to get image digest. Digest retrieval is platform-specific depends.
verify_checksum($dir_path);
Verify image data integrity by comparing SHA256 checksums. Directory path $dir_path
is the parameter which is a part of image path '$image_path' if exists.
Returns error message in case of failure, empty string in case of success.