Given seed and salt how do I produce a set of deterministic ECDSA
keys using zero-dependencies JavaScript
and SubtleCrypto
?
This is a continuation of this question, which I was advised to form as a new question. Therefore I publish no sample code, my understanding is that there’re 2 major ways to go about it:
- Generate the key material and then somehow import it as
ECDSA
keys. - Generate
x
&y
required to generateECDSA
keys (I’m not sure how, given thegenerateKey
call accepting just named curve, maybe viajwk
(?))
I’d like the solution to rely as much as possibly on SubtleCrypto
API with as little custom code as possible.