Uses of Class
com.exonum.binding.common.hash.HashCode
-
Packages that use HashCode Package Description com.exonum.binding.common.configuration com.exonum.binding.common.hash Hash functions and related structures.com.exonum.binding.common.message com.exonum.binding.common.proofs com.exonum.binding.common.proofs.list com.exonum.binding.common.proofs.map com.exonum.binding.common.serialization -
-
Uses of HashCode in com.exonum.binding.common.configuration
Methods in com.exonum.binding.common.configuration that return HashCode Modifier and Type Method Description abstract HashCodeStoredConfiguration. previousCfgHash()Hash of the previous configuration, which can be used to find that configuration.Methods in com.exonum.binding.common.configuration with parameters of type HashCode Modifier and Type Method Description abstract StoredConfiguration.BuilderStoredConfiguration.Builder. previousCfgHash(HashCode previousCfgHash) -
Uses of HashCode in com.exonum.binding.common.hash
Methods in com.exonum.binding.common.hash that return HashCode Modifier and Type Method Description static HashCodeHashCode. fromBytes(byte[] bytes)Creates aHashCodefrom a byte array.static HashCodeHashCode. fromInt(int hash)Creates a 32-bitHashCoderepresentation of the given int value.static HashCodeHashCode. fromLong(long hash)Creates a 64-bitHashCoderepresentation of the given long value.static HashCodeHashCode. fromString(String string)Creates aHashCodefrom a hexadecimal (base 16) encoded string.HashCodeHasher. hash()Computes a hash code based on the data that have been provided to this hasher.HashCodeHashFunction. hashBytes(byte[] input)Shortcut fornewHasher().putBytes(input).hash().HashCodeHashFunction. hashBytes(byte[] input, int off, int len)Shortcut fornewHasher().putBytes(input, off, len).hash().HashCodeHashFunction. hashBytes(ByteBuffer input)Shortcut fornewHasher().putBytes(input).hash().HashCodeHashFunction. hashByteString(com.google.protobuf.ByteString input)Shortcut fornewHasher().putBytes(input.toByteArray()).hash().HashCodeHashFunction. hashInt(int input)Shortcut fornewHasher().putInt(input).hash(); returns the hash code for the givenintvalue, interpreted in little-endian byte order.HashCodeHashFunction. hashLong(long input)Shortcut fornewHasher().putLong(input).hash(); returns the hash code for the givenlongvalue, interpreted in little-endian byte order.<T> HashCodeHashFunction. hashObject(T instance, Funnel<? super T> funnel)Shortcut fornewHasher().putObject(instance, funnel).hash().HashCodeHashFunction. hashString(CharSequence input, Charset charset)Shortcut fornewHasher().putString(input, charset).hash().HashCodeHashFunction. hashUnencodedChars(CharSequence input)Shortcut fornewHasher().putUnencodedChars(input).hash().Methods in com.exonum.binding.common.hash that return types with arguments of type HashCode Modifier and Type Method Description static Funnel<HashCode>Funnels. hashCodeFunnel()Returns a funnel for hashcode.Methods in com.exonum.binding.common.hash with parameters of type HashCode Modifier and Type Method Description voidFunnels.HashCodeFunnel. funnel(HashCode from, PrimitiveSink into) -
Uses of HashCode in com.exonum.binding.common.message
Methods in com.exonum.binding.common.message that return HashCode Modifier and Type Method Description HashCodeTransactionMessage. hash()Returns the SHA-256 hash of the binary message representation. -
Uses of HashCode in com.exonum.binding.common.proofs
Methods in com.exonum.binding.common.proofs that return HashCode Modifier and Type Method Description HashCodeCheckedProof. getRootHash()Returns the calculated root hash of the proof. -
Uses of HashCode in com.exonum.binding.common.proofs.list
Methods in com.exonum.binding.common.proofs.list that return HashCode Modifier and Type Method Description HashCodeListProofHashNode. getHash()Returns the hash value.HashCodeCheckedListProofImpl. getRootHash()Constructors in com.exonum.binding.common.proofs.list with parameters of type HashCode Constructor Description CheckedListProofImpl(HashCode calculatedRootHash, NavigableMap<Long,E> elements, ListProofStatus proofStatus)Creates checked list proof.ListProofHashNode(HashCode hash) -
Uses of HashCode in com.exonum.binding.common.proofs.map
Methods in com.exonum.binding.common.proofs.map that return HashCode Modifier and Type Method Description HashCodeMapProofEntry. getHash()Returns a hash of the corresponding proof map tree node.HashCodeCheckedFlatMapProof. getRootHash()Methods in com.exonum.binding.common.proofs.map with parameters of type HashCode Modifier and Type Method Description static CheckedFlatMapProofCheckedFlatMapProof. correct(HashCode rootHash, Set<MapEntry<com.google.protobuf.ByteString,com.google.protobuf.ByteString>> entries, Set<com.google.protobuf.ByteString> missingKeys)Creates a valid map proof. -
Uses of HashCode in com.exonum.binding.common.serialization
Methods in com.exonum.binding.common.serialization that return types with arguments of type HashCode Modifier and Type Method Description static Serializer<HashCode>StandardSerializers. hash()Returns a serializer of hash codes.
-