src/types/hexadecimal.js
function Digest (validator, serializer, factory) {
  const size = 64
  const name = 'Digest'

  validator = validator.bind(null, name, size)
  serializer = serializer(validator)

  return factory(serializer, size, name)
}
function Digest (validator, serializer, factory) {
  const size = 64
  const name = 'Digest'

  validator = validator.bind(null, name, size)
  serializer = serializer(validator)

  return factory(serializer, size, name)
}
function Digest ( validator , serializer , factory ) { const size = 64 const name = 'Digest' validator = validator . bind ( null , name , size ) serializer = serializer ( validator ) return factory ( serializer , size , name ) }
Digest type factory

@param {function(name, size, value)} validator hexadecimal validator
@param {function(validator, value, buffer, from)} encoder function accepting validator, value, buffer, position and returns modified buffer
@param {function(serizalizer, size, name)} factory type builder factory
@returns {Object} hex type
@private
Digest type factory