Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Sha2Hash

Hierarchy

  • Sha2Hash

Implemented by

Index

Methods

Methods

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

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

    Returns Promise<Buffer>

Generated using TypeDoc