org.mpisws.p2p.transport.peerreview.history
Interface HashProvider
- All Known Subinterfaces:
- IdentityTransport<Handle,Identifier>, PeerReview<Handle,Identifier>
- All Known Implementing Classes:
- IdentityTransportLayerImpl, NullHashProvider, PeerReviewImpl, SHA1HashProvider
public interface HashProvider
hash
byte[] hash(long seq,
short type,
byte[] nodeHash,
byte[] contentHash)
hash
byte[] hash(java.nio.ByteBuffer... hashMe)
getHashSizeBytes
short getHashSizeBytes()
getEmptyHash
byte[] getEmptyHash()
Copyright © 2001-2005 - Rice Pastry.