Provide encoding/decoding helpers for all hash sizes.