Returns
Uint8Array: 32 bytes from the runtime’s Web Crypto crypto.getRandomValues(). This works the same on Node.js, browsers, and Edge runtimes, and throws if the runtime has no Web Crypto implementation.
Unlike the Python SDK, there is no option to save the key to a file.