doc: update crypto.createSecretKey accepted types
This updates the crypto.createSecretKey
accepted types.
cc @tniessen
const encoder = new TextEncoder()
crypto.createSecretKey(Buffer.from('foo'))
crypto.createSecretKey(encoder.encode('foo'))
Checklist
-
documentation is changed or added -
commit message follows commit guidelines