You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
Oh hey @joaosantos15 , five months ago I developed this package that does decryption and encryption natively in Nodejs. Kind of a wrapper package that makes RSA Keypair encryption and encryption easier in terms of coding syntax:
From what I understand,
js-libp2p-crypto
is the JS implementation ofgo-libp2p-crypto
and uses the WebCrypto API whenever possible.For asymmetric encryption/decryption,
go-libp2p-crypto
usesRSASSA-PKCS1-v1_5
, which is only supported for digital signature by the WebCrypto API.On the other hand, the only asymetric encryption supported by WebCrypto API is
RSA-OAEP
.It would be nice to have RSA encryption in
js-libp2p-crypto
☀️.What would be the way to do it? Use the WebCrypto API's
RSA-OAEP
or implementgo-libp2p-crypto
'sRSASSA-PKCS1-v1_5
?Thanks!
The text was updated successfully, but these errors were encountered: