Checks that the input matches the proper format for a private key, as given by PRIVATE_KEY_REGEX.
the string to check
the unmodified input, for easy chaining
TypeError if the format doesn't match
Generated using TypeDoc
Checks that the input matches the proper format for a private key, as given by PRIVATE_KEY_REGEX.