Tuesday, December 10, 2013

Section 16.5

The first little bit of this section went over what we talked about in class yesterday, going over applying different cryptosystems to elliptic curves and how you might translate some of the same ideas into elliptic curve math.
The diffie hellman key exchange follows suit, in that we are translating an idea we have covered before and putting it into elliptic curves and this part seems pretty straightforward.
The signature part again seems like a concept that I should be able to understand better but i was a little confused when it starting talking about how k and k^-1 dont multiply to get one but sometimes you could get out infinity.  If k is just an integer shouldnt it just come out as one?  k can't be a point because that would make k^-1 make even less sense...

Sunday, December 8, 2013

Section 16.4

It makes sense that for computer usage that having elliptic curves mod 2 would be worthwhile, what i hadnt thought of is that the equations would need to be modified to not make them = infinity everywhere.  If we are finding the points on a line though mod 2 would there ever be more than 5 points total?  It seems like no matter the curve that they would always only be able to have the same 5 points.  I guess that that is probably why it says that usually elliptic curves mod 2 are not generally big enough.

Thursday, December 5, 2013

Section 16.3

Its interesting how using a random curve that we can can factor prime numbers.  Probably factor numbers as large as we have ever worked with just by trying one random curve... Also it is still intriguing to me, that the thought process is "try to find 3P, oh it didnt work, well that helped us to factor n"  which seems like a much trickier problem than finding 3P.
What I am confused about, is what is the doing this by hand method? How could we apply this on a the final, or what kinds of questions could be asked about it that I could solve by hand?
What are those other times besides RSA when I would want to factor a really large number...?

Tuesday, December 3, 2013

Section 16.2

Curves mod p are what we started to talk a little bit about yesterday, which was good because I liked Math 371 so talking about rings and groups feels more familiar than some of the other material that we have covered this semester.  Also we talked about "addition" so that concept makes sense.
Is the method for finding out the number of points beyond anything that we will cover?  It seems like even if there was some kind of basic algorithm it could be nicer than counting everything up.  unless its a small graph.
Nit-picky I know but I dislike how the book says "this might not look like a log problem, but it is clearly the analog of the log problem...." if it doesn't look like it, how is it clearly it?
So is it possible that when you are choosing a ciphertext or making one I guess that it doesnt work and doesnt code? Or what is it exactly that is failing?

Saturday, November 30, 2013

Section 16.1

Reading about elliptic curves was interesting, interesting to see how even though some of the older ciphers havent been broken necessarily that they have developed more intense ones.  I was wondering what the importance of adding the point (infinity, infinity) would have on the equation, seeing how that is only kind of a solution....
It was also intriguing how it said that when something goes wrong that that is when we get our information.   funny that it takes breaking it down to be able to get what we want.

Sunday, November 24, 2013

Section 2.12

This section was really interesting because it let me see some of the real world application and how cryptanalysis has been done.  I dont envy the job of compiling a list of 105k different settings and setting up the codebook especially without a computer.... But I guess as Emperor Palpatine says "do what must be done".  I like permutations and cycles so this part mathematically was pretty easy going.

Thursday, November 21, 2013

Section 19.3 and online reading

I was glad that the reading started off saying that we arent going to explain this all as detailed as we might but youre going to have to take a few things on faith.  When it comes to quantum mechanics I am completely ok with that...  The first part made logical sense, but when it started talking about fourier transforms I was a little confused, on what they were finding and then on how to use them.  Are Fourier transforms something that we might analyze more than compute?  I understand about the peaks and the periodicity but getting it to that form is the scarier part.
And the online article made sense too, interesting to see what happens when you distill the math out of a complicated subject.

Tuesday, November 19, 2013

Sections 19.1 and 19.2

I have never been so scared for this class as I am right now.  I didnt know that we would get to talk about quantum anything... much less apply it to cryptography....
The experiment with the light was interesting, and I understood the idea of the experiment but once we started to find orthogonal bases I started to get a little confused.
The second part that was talking about the usage was actually a little more understandable.  It is very cool that with this kind of cryptography that you can detect eavesdropping, although it seems like it would take there being a large amount of data being sent to do so.  But maybe thats possible here.  It was interesting to say the least.

Thursday, November 14, 2013

Test 2 Prep

The things that we spent the most time covering and applying I feel like are the RSA and ElGamal systems, we talked not only about the systems themselves but how to use them and sign them and do other things with them.  I think that we will see them come up on the exam in probably multiple formats.
I expect that we will have to use the definitions that we are supposed to know to do the types of problems that are on the other side of the sheet.  It seems like we will be combining the knowing part with the thinking through and application of the concepts.  Probably a gnarly problem finding square roots and then having to use the Chinese Remainder Theorem... I hate the Chinese Remainder Theorem.

Tuesday, November 12, 2013

Section 12.1-12.2

So the first section about the idea of secret splitting was pretty straight forward.  You want to split up a message between several people.  Well you could just give them each a piece and make them put it together.
The next section is a little bit trickier to understand.  When all of those people get together do they have to try all of the different combinations of pairs that they have?  Even given that the t people will group up and talk together that seems like it would take some doing to recover the message.
Also does having more than t people help your chances?  If you have more people does it make it any easier to recover the message?
The Lagrange method seems easier than the linear method as well.  And by easier I mean at least more intuitive.

Thursday, November 7, 2013

Sections 8.4-8.5, 8.7

It was interesting to read about the birthday attack idea from a cryptological standpoint.  I have talked about it a lot in my actuarial classes and done problems with it before but this did a better job explaining the reasoning behind its paradoxical conclusions than I had heard before.  Interesting to see how the idea relates to choosing keys or codes or even messages.
If the baby step giant step method is superior to the birthday method, is there any reason to ever use the birthday method in real life?
I see how the birthday attack idea relates to multicollisions but I am still shaky on how to find said collisions.  Section 8.7 seems to be a lot of the material that we have read before and especially that we talked about in class on Wed, so i feel pretty comfortable with it.

Tuesday, November 5, 2013

Sections 8.1-8.2

So this whole reading was a little bit hard for me.  I understand the idea of what a hash function should do, that it should make data more compact, which I can see the benefit of that.  However designing one seems very complex to me.  Im not even entirely sure when it says that we are only looking for some m' with h(m') = y.  So we aren't looking for m? Just what y is?
Somewhere along the lines of computing the inverses of one way functions kind of messed me up...
Even just XORing the vectors and making an array in the "simple" example was enough to scare me off.  I guess I'm not a real cryptographer yet.

Sunday, November 3, 2013

Section 7.3-7.5

Bit commitment seems like an understandable idea, it makes sense that you would want both parties to be able to be satisfied.  It seems like what we were supposed to learn in that section was another thing that must be kept in mind in designing a cryptosystem.
What is the usage rate of the cryptosystems that we have been talking about?   Does ElGamal get as much play time as others like RSA or AES?
The ElGamal system seems like it is at least as much work as RSA, and I am still confused about computing the decryption.  Is a the same as alpha? or where did that come from?

Thursday, October 31, 2013

Section 7.2

The general idea of computing discreet logs seems rather doable.  Nothing too crazy at least in the work.  The part that looked like it will take a little bit more practice is using the Pohlig-Hellman algorithm.
I am also not entirely sure what a precomputation is.   I guess its just like extra computations that are done before, but wouldnt that just make it a computation....
And then just to check my understanding, we have the log 4 algorithm to fill in a gap in the pohlig algorithm is that correct?

Tuesday, October 29, 2013

Section 6.5-6.7 and 7.1

It was interesting to read about real examples of the RSA system, and I understand that it is widely used still but reading about it is interesting.  It was cool to see that in some situations it is able to be broken, and that you could win all of $100 for doing so...  Also it was interesting to read about the different "trapdoors" that are built into public key systems, and they are necessary but also scary.  That's what all the allegations against the NSA are about right?

Discreet logs look like they are going to be almost as much fun as factoring large primes... Cryptography moves from one tricky thing to the next.  I guess thats the whole point of it thought isn't it.

Sunday, October 27, 2013

Sections 6.4.1 and 6.4.2

In this section it talked about finding linear dependencies, and does that just mean where they are congruent to 0 mod whatever the current mod is? Or what exactly does that mean?  I guess the whole concept of a factor base is still kinda of fuzzy for me.

And these theoretical methods we covered in class, so i feel pretty comfortable with them at this point.  Your lectures really make the material that we read make a lot more sense.  Im not sure what exactly it is but thank you for putting in the time to make everything come together.

Thursday, October 24, 2013

Section 6.4

Now say what? If a quantum computer were built then we could factor.  Well, is that all we need? Easy Peasy.... Might be better to just work on it from that end....

The factoring algorithm leaves something lacking... I can understand the idea of it all but when it comes to using it, i feel like it is another clunky tool.  And if I understand it right, it is based on how we choose B?  But there arent really specific rules for that? Just make it n? And like Vincent from DES said, there is always a tradeoff between security and speed.  So now if we want to have a higher chance of success we have to wait longer.

Tuesday, October 22, 2013

Section 6.3

Here is a nice like theorem that I wish I would have noticed for the homework that was due on Monday.  That basically solves two of the problems right there.  It is interesting that we can figure out that numbers can be factored without ever actually factoring them.

It is also interesting in the fermat primality test that "then n is probably prime" so even with our test we arent exactly sure about what is going on.  Also how likely is very likely that its true?  Are we talking like usually, 55%? Or like very probably like 95%?

Is the Miller Rabin test really saying that you just randomly choose one of the numbers and then see if it works and if not then try another?   That seems like an inefficient way first of all, and second does the randomization help in any way? Also what does it mean when they reach mod 1 but not all at the same time?

Sunday, October 20, 2013

Section 3.10

I was wondering since this method is more general does that mean that we might as well jump right into this method when trying to decide if a number is a square or is it worth it to try the method we used last time and then if we have to come here?  

I am also a little confused on parts 4 and 5 of the jacobi symbols part, it seems like it might be building on what we did last time, but I got a little lost reading about it.

In the end it seems like everything we do, is basically saying that its still really hard to factor n.  You have some things that are like factoring n, but we still cant do those things either.  Kind of a frustrating approach to solving a problem, probably worse for those more invested in it than I...

Thursday, October 17, 2013

Section 3.9

This section looks like the math part of another attack that we will try against the RSA algorithm.  It again looks like you can choose your n in such a way that this wont really work, but it could work.  The idea seems to make sense in my head, the reasoning behind it at least.  Putting it into practice on paper will probably be less fun than just reading about it though.
Also is there a difference between moduli and modulus? I thought that I had heard both but now I'm not so sure.