Skip to content

v0.16.7

Compare
Choose a tag to compare
@jost-s jost-s released this 29 Nov 18:30

Added

  • Utility functions for slicing hashes into their components: sliceHashType, sliceCore32, sliceDhtLocation
  • Utility functions for generating hashes from components: dhtLocationFrom32, hashFrom32AndType:

Changed

  • Utility functions fakeAgentPubKey, fakeEntryHash, fakeActionHash and fakeDnaHash now generate valid hashes with a valid final 4 bytes
  • Utility functions fakeAgentPubKey, fakeEntryHash, fakeActionHash and fakeDnaHash now optionally take a single parameter coreByte which if defined will be repeated for all core 32 bytes of the hash