vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Variable objectHashConst

    objectHash: (obj: string | object, algorithm?: string) => string = calculateHash

    Hash an object and return the digested hashed value as hex

    Type Declaration

      • (obj: string | object, algorithm?: string): string
      • Hash an object and return the digested hashed value as hex

        Parameters

        • obj: string | object

          Object to calculate the unique hashed value for

        • algorithm: string = 'sha1'

          hashing algorithm to use; defaults to sha1

        Returns string

    Object to calculate the unique hashed value for

    hashing algorithm to use; defaults to sha1