Using hmac See https://datatracker.ietf.org/doc/html/rfc6979#section-3.2
privateKey concatenated with hash of message according to rfc6979
keep generating new bytes until pred returns something non-undefined (signifying a certain condition has been satisfied)
Using hmac See https://datatracker.ietf.org/doc/html/rfc6979#section-3.2