Hot answers tagged

7

The reason that you are seeing different outputs each time you use openssl enc -e -aes-256-ecb to encrypt the same plaintext with the same password is because openssl is using a different random salt each time you run it. The salt is combined with the password to derive the encryption key, which is fed into the aes-256-ecb algorithm. If you specify the ...


3

In addition to why the first 8 bytes are the same, a bit more about why the outputs (ciphertexts) differ: You're using different algorithms. Even if the keys were the same, different algorithms produce different ciphertext from a given key+message input. This is true regardless of the mode of operation. As mentioned in the other answer, the keys are in fact ...


1

Do I need to install the certificate of every subCA as Trusted Root Certification Authorities? no, only root CA certificate is installed to Trusted Root CAs store. Intermediate CA certificates go to Intermediate CAs store. Is there another way to implement the certificate chain into the certificate for CUPS1.local, such that I only need to install the ...


1

Anyway, out of curiosity I would like to understand if windows can also somehow read the chain? There is no "somehow read the chain". Either it has the necessary chain certificates or it does not. It can have the certificates if they are provided up-front (i.e. installed locally) or if they are provided during verification. The latter is the ...


Only top voted, non community-wiki answers of a minimum length are eligible