Return to site

Decrypt rsa with private key python

broken image

I've tried to do this: from Crypto import Random I want to do an app where the message is public but it can only be seen if you have the public key. More than secure encryption I'm looking for some kind of obfuscation. Is it possible to encrypt a message with a private key in python using pycryptodome or any other library? I know that you are not supposed to encrypt with the private key and decrypt with the public key, but my purpose is to encrypt with the private one so the receiver could be sure that the message was send by the real author.

broken image