Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Use module Crypto.Cipher.PKCS1_OAEP instead

from Crypto.Cipher import PKCS1_OAEP

encryptor = PKCS1_OAEP.new(publickey)
encrypted = encryptor.encrypt(b'encrypt this message')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Use #module
ADD COMMENT
Topic
Name
8+8 =