Package 

Interface StorageHashing

  • All Implemented Interfaces:

    
    public interface StorageHashing
    
                        

    Interface for providing a hashing functionality

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ByteArray hash(RuntimeModuleStorageItem storageItem, List<ByteArrayConvertible> keys) Hashes provided storage item.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • hash

         abstract ByteArray hash(RuntimeModuleStorageItem storageItem, List<ByteArrayConvertible> keys)

        Hashes provided storage item. The hashing can be either plain or key-map

        Parameters:
        storageItem - a storage item to hash
        keys - keys for hashing by key-mapping