Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Sha2Hash

Implemented by

Index

Methods

Methods

digest

  • digest(data: Buffer, algorithm?: "sha256" | "sha512"): Promise<Buffer>
  • Parameters

    • data: Buffer
    • Optional algorithm: "sha256" | "sha512"

    Returns Promise<Buffer>

Generated using TypeDoc