Uses of Class
convex.core.data.Hash
Packages that use Hash
Package
Description
Fundamental Convex classes used for the decentralised network
Crypto algorithms used within Convex, particularly for digital signatures and
cryptographic hashes
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
Specialised exception classes used in the Convex implementation and libraries
Core CVM implementation
Etch database for convergent immutable storage
Convex utility classes and miscellaneous functionality
Convex network transaction types.
-
Uses of Hash in convex.core
Methods in convex.core that return Hash -
Uses of Hash in convex.core.crypto
Methods in convex.core.crypto that return HashModifier and TypeMethodDescriptionstatic HashHashing.keccak256(byte[] data) Computes the KECCAK-256 hash of byte datastatic HashHashing.sha256(byte[] data) Computes the SHA-256 hash of byte datastatic HashComputes the SHA-256 hash of a stringstatic HashHashing.sha3(byte[] data) Computes the SHA3-256 hash of byte datastatic HashComputes the SHA-256 hash of a string -
Uses of Hash in convex.core.crypto.wallet
Methods in convex.core.crypto.wallet that return Hash -
Uses of Hash in convex.core.data
Fields in convex.core.data declared as HashModifier and TypeFieldDescriptionprotected HashAArrayBlob.contentHashCached hash of the Blob data.static final HashHash.EMPTY_HASHstatic final HashHash.FALSE_HASHprotected HashRef.hashHash of the serialised representation of the value Computed and stored upon demand.static final HashHash.NULL_HASHstatic final HashHash.TRUE_HASHMethods in convex.core.data that return HashModifier and TypeMethodDescriptionprotected final HashACell.cachedHash()Gets the Hash if already computed, or null if not yet availablefinal HashRef.cachedHash()Gets the Hash of this ref's value, or null if not yet computedfinal HashABlob.computeHash(MessageDigest digest) Computes the hash of the byte data stored in this Blob, using the given MessageDigest.static HashConstructs a Hash object from a hex stringstatic HashComputes the Hash for any ACell value.final HashAArrayBlob.getContentHash()ABlob.getContentHash()Computes the hash of the byte data stored in this Blob, using the default MessageDigest.final HashACell.getHash()Hash of data Encoding of this cell, equivalent to the Value ID.static HashGets the Hash (Value ID of a cell)abstract HashRef.getHash()Gets the Hash of this ref's value.RefDirect.getHash()RefSoft.getHash()MapEntry.getKeyHash()Gets the Hash of the key for this MapEntrystatic HashBest effort attempt to parse a Hash.static HashBest effort attempt to parse a Hash.static HashHash.wrap(byte[] hashBytes) Wraps the specified bytes as a Data object Warning: underlying bytes are used directly.static HashHash.wrap(byte[] hashBytes, int offset) Wraps the specified bytes as a Data object Warning: underlying bytes are used directly.static HashHash.wrap(AArrayBlob data) Wraps the specified blob data as a Hash, sharing the underlying byte array.static HashHash.wrap(AArrayBlob data, int pos) Wraps the specified blob data as a Hash, sharing the underlying byte array.static HashWraps the Blob as a Hash if possibleMethods in convex.core.data with parameters of type HashModifier and TypeMethodDescriptionvoidBlob.attachContentHash(Hash hash) final intOptimised compareTo for Hashes.abstract booleanAHashSet.containsHash(Hash hash) Tests if this Set contains a given hashbooleanSetLeaf.containsHash(Hash hash) booleanSetTree.containsHash(Hash hash) RefSoft.createForHash(Hash hash) Create a RefSoft with a Hash reference.booleanTests if the Hash value is precisely equal to another non-null Hash value.Creates a RefSoft using a specific Hash.Gets the Value in the set for the given hash, or null if not foundAMap.getEntryByHash(Hash hash) Gets the map entry with the specified hashARecord.getEntryByHash(Hash hash) Index.getEntryByHash(Hash hash) MapLeaf.getEntryByHash(Hash hash) MapTree.getEntryByHash(Hash hash) ASet.getRefByHash(Hash hash) Gets the Ref in the Set for a given hash, or null if not foundSetLeaf.getRefByHash(Hash hash) SetTree.getRefByHash(Hash hash) protected abstract voidAHashSet.validateWithPrefix(Hash prefix, int digit, int position) Validates the set with a given hex prefix.protected voidSetLeaf.validateWithPrefix(Hash prefix, int digit, int position) protected voidSetTree.validateWithPrefix(Hash base, int digit, int position) Method parameters in convex.core.data with type arguments of type HashModifier and TypeMethodDescriptionstatic voidFormat.decodeCells(HashMap<Hash, ACell> acc, Blob data) Decode encoded non-embedded Cells into an accumulator HashMapvoidRef.findMissing(HashSet<Hash> missingSet, long limit) Finds all instances of missing data in this Ref, and adds them to the missing setConstructors in convex.core.data with parameters of type Hash -
Uses of Hash in convex.core.data.impl
Methods in convex.core.data.impl with parameters of type Hash -
Uses of Hash in convex.core.exceptions
Methods in convex.core.exceptions that return HashModifier and TypeMethodDescriptionMissingDataException.getMissingHash()Gets the Hash for the missing dataConstructors in convex.core.exceptions with parameters of type Hash -
Uses of Hash in convex.core.lang
Fields in convex.core.lang with type parameters of type HashMethods in convex.core.lang that return Hash -
Uses of Hash in convex.core.store
Methods in convex.core.store that return HashModifier and TypeMethodDescriptionabstract HashAStore.getRootHash()Gets the hash of the root data from the store.MemoryStore.getRootHash()Methods in convex.core.store with parameters of type HashModifier and TypeMethodDescriptionACachedStore.checkCache(Hash h) AStore.checkCache(Hash h) checks in-memory cache for a stored Ref.MemoryStore.checkCache(Hash h) Ref<?> Gets the Cached Ref for a given hash, or null if not cached.AStore.refForHash(Hash hash) Gets the stored Ref for a given hash value, or null if not found in the store.MemoryStore.refForHash(Hash hash) -
Uses of Hash in convex.core.util
Fields in convex.core.util declared as Hash -
Uses of Hash in convex.dlfs
Methods in convex.dlfs that return HashModifier and TypeMethodDescriptionDLFileSystem.getNodeHash(DLPath p) abstract HashDLFileSystem.getRootHash() -
Uses of Hash in convex.dlfs.impl
Methods in convex.dlfs.impl that return Hash -
Uses of Hash in etch
Modifier and TypeMethodDescriptionEtch.getRootHash()EtchStore.getRootHash()Etch.readValueKey(long ptr) Modifier and TypeMethodDescriptionEtchStore.readStoreRef(Hash hash) EtchStore.refForHash(Hash hash) voidEtch.setRootHash(Hash h) Writes the root data hash to the Storevoid