UNPKG

@hounddesk/epayco-signature-verifier

Version:

ePayco Signature verifier used for transactions integrity checks

16 lines (15 loc) 438 B
import { Signature, Transaction, HashType } from "./types"; /** * Verifies the transaction integrity against the provided signature. * @param signature * @param transaction * @param separator * @param hashType * @returns boolean */ export declare function verify({ signature, transaction, separator, hashType }: { signature: Signature; transaction: Transaction; separator: string; hashType?: HashType; }): boolean;