4

We need more information about exactly what do you mean in your question, whether you're asking about TLS 1.3 or older versions, from SSLv3 up to TLS 1.2, which worked a little differently, and what kind of thing you would like to do that is currently impossible. If you only intend to use primitives already specified for TLS and just want to mix and match ...


3

One idea I had is to encrypt the signals with Ed25519. Would this solve the MITM issue? First, Ed25519 is no encryption, it is a signature algorithm. And no, switching one signature algorithm with another does not magically protect against MITM. The relevant question in the context of MITM attacks is instead who is doing the signature and if this party can ...


3

I have created a visual explanation of the firefox algorithm, not very pretty but I hope it helps.


2

Is there such a cryptographic algorithm that will encrypt any file with a password. Cryptographic algorithms use keys, not passwords and using a password directly is not secure. The cryptographic keys are hard to remember so we use Password-Based Key Derivation Functions like PBKDF2, Scrypt, and Argon2. Better to use the last two. The key size is ...


1

In the line Enter file... you have chosen an arbitrary filename public_key_ooker. That's why the privake key has been saved to public_key_ooker and public key to public_key_ooker.pub. The name alone doesn't make the private key a public key, but gets you confused. But you don't necessarily need a key, if you are using password authentication. If you'd ...


1

This is very weak security on all fronts! The user's password is P4$$w0rdP4$$w0rd and it's encrypted using XOR encryption, with the key CdZ4MLMPgYtAE9gQ80gMtg==. This produces the ciphertext posted by the OP above, WeJcFMQ/8+8QJ/w0hHh+0g==. To verify: First, use xxd to get the underlying binary of the plaintext password: echo -n 'P4$$w0rdP4$$w0rd' | xxd ...


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