Tag Info

New answers tagged

2

The certificate must be encoded using the distinguished encoding rules, using the ASN.1 definition found here. First read the sequence tag (one byte, check if it has value 30 hex). Now parse the DER length field. This is encoded as a single byte for values up to 128. For length of 128 to 256 there will be two bytes (81 XX in hex, where XX is the unsigned ...


1

The question Alex linked in comments explains why authentication works to prevent a man-in-the-middle attack on Diffie–Hellman. So, whenever you can do the key exchange in an authenticated channel, you can be sure there is no MitM attack. (Assuming DH problem remains unbroken, of course.) Now, your questions: Is one solution for both Alice and Bob ...


1

The problem about Man-in-the-Middle attack on Diffie-Hellman is that both sides are not confident about other side's public key (g^a and g^b). If they were sure that they have correct public key of their's friend Man-in-the-Middle attack wouldn't be possible, because MITM attack is based on the forgery of public keys by adversary! If for instance Bob and ...


2

Well, as it says in your link the problem is authentication. So somehow Alice and Bob must set up an authenticated channel. One way of implementing such a channel is by Alice and Bob holding each others public verification key for a signature scheme. A CA would probably not hold a secret key for Alice and Bob. However, using a CA to get an authentic copy ...


0

I am a graduate student researching cryptography at JHU. If you want to research cryptography in academia, you'd better have a strong ability in mathematics. In my opinion, programming is a basic ability and software is just a kind of tool to realize your idea. cryptographers who made breakthroughs before all have a strong mathematics and theoretical ...



Top 50 recent answers are included