-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AES256 Decrypt with PrivateKey (Certificate) #5
Comments
You can see the code here: https://github.com/lminuti/Delphi-OpenSSL#encrypt-with-aes256 |
Hello
thx for answer.
I receive some encrypted data from goverment institution. As descripted - they are encrypted aes256 with public qualified certificate:
<Data contentEncoding="base64" compression="gzip" encryptionAlgorithm="aes256">UZI5445..............</Data>
and I don’t know, how it decrypted...
J.Volek
From: Luca Minuti
Sent: Monday, January 20, 2020 9:10 AM
To: lminuti/Delphi-OpenSSL
Cc: jindrichvolek ; Author
Subject: Re: [lminuti/Delphi-OpenSSL] AES256 Decrypt with PrivateKey (Certificate) (#5)
You can see the code here: https://github.com/lminuti/Delphi-OpenSSL#encrypt-with-aes256
But AES256 is a symmetric algorithm, it uses a key and an initialization vector to encode the data not a certificate. DelphiOpenSSL has a special record (TPassphrase) that can generate key and IV from a string.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm sorry but I never use AES with certificate. You can try to inspect the certificate with something like: |
Hello
please, how to decrypt AES256 with PrivateKey (Certificate)
Thx.
The text was updated successfully, but these errors were encountered: