Namespace Multihashing

Callable

  • Multihashing(bytes: Uint8Array, alg: HashName, length?: number | undefined): Promise<Uint8Array>
  • Hash the given bytes using the algorithm specified by alg.

    Parameters

    • bytes: Uint8Array

      The value to hash.

    • alg: HashName

      The algorithm to use eg 'sha1'

    • Optional length: number | undefined

    Returns Promise<Uint8Array>

Index

References

Digest

Re-exports Digest

HashName

Re-exports HashName

createHash

Re-exports createHash

digest

Re-exports digest

functions

Re-exports functions

validate

Re-exports validate