RSA + AES encryption with Python(3) and/or Powershell + .NET
with OpenSSL private & public key
It is possible to use the combination of RSA and AES encryption with the use of private and public keys that have been created with OpenSSL, without having to
install any certificates or keys. The keys can be read from file. With Python(3) this can be done with the Crypto module, in Powershell this can be done with the
use of objects from the .NET framework.
The public key can be used to encrypt the AES key which is used to encrypt a text or file. The private key is needed to decrypt that AES key, in order to be able
to decrypt the encrypted text or file.
Both versions of the solution, Python and Powershell, work with the same private and public key. They can process each other's encrypted files, meaning you can
for example encrypt with the Python solution and decrypt with the Powershell solution.
You can read detailed information, including some source code, in the document you can download here below.
After reading still any questions? Contact: firstname.lastname@example.org
This information, inluding source code,
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY;
without even the implied warranty
FITNESS FOR A PARTICULAR PURPOSE.
Copyright © 2019 - 2023 Theo Solberg.
Alle rechten voorbehouden. / All rights reserved.