Netflix / photon

Photon is a Java implementation of the Interoperable Master Format (IMF) standard. IMF is a SMPTE standard whose core constraints are defined in the specification st2067-2:2013
Apache License 2.0
239 stars 78 forks source link

Generating non Base-64-encoded hashes for CPL files in IMPBuilder #357

Closed danielhdz13-netflix closed 1 year ago

danielhdz13-netflix commented 1 year ago

Previously, we generated Base-64 encoded SHA-1 hahses, but JAXB serialization already performs base-64 encoding for byte array types. This double-correction led to invalid hash values for CPL files in the PKL, since they were 40 bytes in length rather than 28.