How to use crypto generateKeyPairSync?
I'm trying to make
The sample code at the bottom of https://docs.deno.com/api/node/crypto/~/generateKeyPairSync does not work on deno 1.44.4 (MacOS Sonoma 14.5 M2 chip). I get:
I get the same thing with
The only way it works, is if I remove the both key encodings from the options:
What am I doing wrong?
generateKeyPairSync work, but it fails.The sample code at the bottom of https://docs.deno.com/api/node/crypto/~/generateKeyPairSync does not work on deno 1.44.4 (MacOS Sonoma 14.5 M2 chip). I get:
I get the same thing with
generateKeyPair.The only way it works, is if I remove the both key encodings from the options:
What am I doing wrong?
