Blockchain Commons LifeHash TypeScript Library - v1.0.0-alpha.20
    Preparing search index...

    Function makeFromUtf8

    • Make a LifeHash from a UTF-8 string, which may be of any length. The caller is responsible to ensure that the string has undergone any necessary Unicode normalization in order to produce consistent results.

      Parameters

      • s: string
      • version: Version = Version.version2
      • moduleSize: number = 1
      • hasAlpha: boolean = false

      Returns Image