QubesX

1

votes
0

answer
10

views

Encryption using symmetric openssl aes-128-cbc SHA256 encryption

Problem: Want to achieve symmetric encryption using openssl aes-256-cbc -a -in avengers.txt -out avengers.enc -md md5 so if I pass the encrypted text in below code or in openssl aes-256-cbc -a -d -in avengers.enc -md md5 I get the actual strong. Can anyone help me in factoring the below code to do e...
QubesX
0

votes
0

answer
4

views

Encryption using RSA with given public key in Android

import android.util.Log; import org.bouncycastle.bcpg.ArmoredOutputStream; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.bouncycastle.openpgp.PGPCompressedDataGenerator; import org.bouncycastle.openpgp.PGPEncryptedData; import org.bouncycastle.openpgp.PGPEncryptedDataGenerato...
QubesX