UNPKG

crypto-conditions

Version:

Implementation of crypto-conditions in JavaScript

10 lines (7 loc) 178 B
export type Mgf1Options = { hashAlgorithm?: string; }; export default class Mgf1 { constructor(opts?: Mgf1Options); generate(seed: Buffer, maskLength: number): Buffer; }