I want to decrypt the private key in Keystore Java JCEKS, and I do not want to use Java.
I can find a description of PBEWithMD5AndTripleDES, but not the actual implementation.
This comment supposedly explains the conclusion:
But is this the first concatenation of password + half-of-salt
, or is it half-of-salt + password
? Is the input of the next rounds password + digest
, or is it digest + password
.
Between 8-bit characters or full 16-bit characters and possible combinations of concatenation, you might think that as a result of trial and error I should have worked it out by now.
I know salt, iterations, and password, and even plaintext, which should decrypt the encrypted text (i.e. I have decrypted data).
Obtaining a 24-byte DES3 key, whether it is parity correction or leaving it alone, and an 8-byte IV decryption in DESC CBC mode, I cannot recreate my plaintext.
What is the algorithm described by this comment?
source share