You ever prayed for something your whole life? I mean all you
dreamed about is this one thing. I mean you know it’s coming, you have the
faith and all that. But sometimes, sometimes you second guess yourself. That’s
human nature I suppose, second guessing. When life seems to take you more downs
than ups, seems like it gives you more losses than wins. But do you stand tall
and be bold? Or do you fold? Do you believe? See me I came a long way. Way too
far for me to stop now. Not that I would
stop anyways but I’m so close I can feel it, can you feel it?
So I have been reading up on my cryptography and I figured I should give out a brief lesson on these three amazing concepts What are they ? a) PRG (Pseudo Random Generator) You probably know the difference between stream and block cipher. One of the main differences between them is key size. Stream ciphers require the key to be of equal length of greater than the plaintext , whereas Block Ciphers take a key smaller than the PT and is then expanded. This is the PRG The PRG expands the seed Considerations: Stream Ciphers base on Perfect Secrecy whereas Block Ciphers base on Semantic Security b) PRF (Pseudo Random Function) Lets share a secret- imagine something- you want to authenticate yourself with me by proving that you know a secret that we both share. Here's a possible option i) Possible Option 1: PRNGs We both seed a PRNG with the shared secret, I pick and then send you some random number i. You then have to prove that you know the secret by respon
Comments
Post a Comment