webcrypto-liner
webcrypto-liner copied to clipboard
Add NodeJS nativeCrypto
Adding NodeJS crypto.webcrypto
per this issue.
@types/node typescript definition is incomplete, created local variable with :any
for the time being.
@TJKoury are you aware of @peculliar/webcrypto it is a node implementation of webcrypto and Node v15 also has native support. I am not against having liner support Node but its unclear of the objective?
The idea is to have an isomorphic code base that supports secp256k1 / Ed25519 / x25519. If I’m not mistaken, @peculiar/webcrypto does not enable those curves in the browser.
#86
Bump
@microshine
@peculiar/webcrypto
supports Ed curves
See these tests
And also it supports P-256
, P-384
, P-521
, K-256
, brainpoolP160r1
, brainpoolP160t1
, brainpoolP192r1
, brainpoolP192t1
, brainpoolP224r1
, brainpoolP224t1
, brainpoolP256r1
, brainpoolP256t1
, brainpoolP320r1
, brainpoolP320t1
, brainpoolP384r1
, brainpoolP384t1
, brainpoolP512r1
, and brainpoolP512t1
named curves for ECDSA and ECDH algorithms
Ok will check it out.