• Type Parameters

    • T

    Parameters

    • seed: number[]

      privateKey concatenated with hash of message according to rfc6979

    • pred: (bytes: number[]) => undefined | T

      keep generating new bytes until pred returns something non-undefined (signifying a certain condition has been satisfied)

    Returns T