I'm a bit worried about Speakeasy's method of generating a random secret key.
Node.JS ships with a great library for handling that.
Here are the changes I've included:
The only caveat so far is it's now impossible to have an ascii key with symbols (alphanumeric only).
Use a better source for random data, update thirty-two dependency
Remove unused functions
Ensure the hex key can be generated if the length is ommited
Dont return random key as hex string. Format it in generate_key() ins…
I think i'll wait for version 2 before using this library.