Crypto/rsa encryption in angular and decrypt in golang

I have one application where I want to encrypt from angular using public key
and decrypt in golang rest api by using private key .

so I have tried crypto / ras encryption . it is working.

Please guide me

Hi,

so I have tried crypto / ras encryption . it is working.

What exactly you tried? which kind of help are you asking for?

I want to encrypt payload from angular using public key and decrypt from golang using private key…

I have tried. It is not decrypt at golang side

do you have an example code (both angular and Go)?

how do you share the keys ?
Which algorithm do you use in Angular and which one in Go ?

Thanks.

It is solved. I have used wrong hash algorithm at angular side

happy to have been helpful

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.