- The
Object IDis a 320-bit value consisting of theObject Size(uint64) followed by theObject Hash(SHA256). - The
Object Sizeis the size of the object encoded using theBinary Encoding. - The
Object Hashis the SHA256 hash of the object encoded using theBinary Encoding. - The
Object IDis calculated by:- encoding the 320-bit value using zBase32 with character set "ybndrfg8ejkmcpqxot1uwisza345h769"
- removing the leading "y"s from the string
- adding a "data1" prefix
- The
Object Hashof anEmpty Objectis the SHA256 hash of an empty byte buffer.