Skip to content

v1.3.0

Compare
Choose a tag to compare
@docbacardi docbacardi released this 26 Sep 17:47
· 2 commits to master since this release
  • Add helper functions for hash sums.
    getHashSumFromMessage identifies a hash function by either a prefix like "sha384:" or the size of the hash. It extracts the hash from a string and converts it from hex to the binary form.
    getHashForFile builds a hash sum for a complete file
    getDoubleHashForFile builds 2 hash sums for the same file in one go
    convertAsciiHashToBinary takes a hex hash and converts it to the binary form.