Digital Cinema Packages contain checksums in the following format as described here:
$ openssl sha1 -binary 'dcpfile.xml' |openssl base64 IxcfhXNHlw+1bbDFu0kp8KRylpU=
How can I take a value such as
IxcfhXNHlw+1bbDFu0kp8KRylpU= and derive the original sha1 hash, which would look something like
$ openssl sha1 'dcpfile.xml' SHA1(dcpfile.xml)= 23171f857347970fb56db0c5bb4929f0a4729695
My use case is that there are not many checksum validation tools that exist that easily allow you to validate an md5sum type checksum manifest that use these binary/base64 values, but there are many tools that validate sha1, so it would be great if I knew how to reverse these values so I could write a script that would generate a more interoperable list of hashes.