PeculiarVentures / node-webcrypto-ossl

A WebCrypto Polyfill for Node in TypeScript built on OpenSSL.
MIT License
128 stars 40 forks source link

typo #154

Closed Ulterior closed 4 years ago

Ulterior commented 4 years ago

on the main page example for keystorage getitem

To get key from KeyStorage

var rsaKey = webcrypto.getItem("prvRSA-1024");

needs to be changed to

var rsaKey = webcrypto.keyStorage.getItem("prvRSA-1024");

cheers