package multihash

import (
	
	
	
)

type identityMultihash struct {
	bytes.Buffer
}

func (identityMultihash) () int {
	return 32 // A prefered block size is nonsense for the "identity" "hash".  An arbitrary but unsurprising and positive nonzero number has been chosen to minimize the odds of fascinating bugs.
}

func ( *identityMultihash) () int {
	return .Len()
}

func ( *identityMultihash) ( []byte) []byte {
	return .Bytes()
}

type doubleSha256 struct {
	hash.Hash
}

func ( doubleSha256) ( []byte) []byte {
	 = .Hash.Sum()
	 := sha256.New()
	.Write()
	return .Sum([0:0])
}