can i do something like php’s openssl_private_encrypt in go – getting help

I am trying to migrate my projects from PHP but I found that there is no private key encryption method.
As far as I know, only support private key decryption (rsa.DecryptOAEP).
But PHP has one called openssl_private_encrypt PHP: openssl_private_encrypt – manual
Is there a replacement I can use?
Thank you

Leave a Comment