diff options
| -rw-r--r-- | src/decrypted_kdm.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decrypted_kdm.cc b/src/decrypted_kdm.cc index 1a532f25..37f492a4 100644 --- a/src/decrypted_kdm.cc +++ b/src/decrypted_kdm.cc @@ -129,6 +129,11 @@ DecryptedKDM::DecryptedKDM (EncryptedKDM const & kdm, string private_key) std::cout << "decoded cipher to " << cipher_value_len << "\n"; + for (int i = 0; i < cipher_value_len; ++i) { + std::cout << ((int) cipher_value[i]) << " "; + } + std::cout << "\n"; + /* Decrypt it */ unsigned char * decrypted = new unsigned char[RSA_size(rsa)]; int const decrypted_len = RSA_private_decrypt (cipher_value_len, cipher_value, decrypted, rsa, RSA_PKCS1_OAEP_PADDING); |
