2,606 reputation
525
bio website touset.org
location San Francisco, CA
age 30
visits member for 2 years, 2 months
seen 2 hours ago

Cyclist. Rubyist.


Dec
15
awarded  Nice Answer
Dec
5
answered Is the salt used with PBKDF2 secret?
Dec
2
comment CTR or CBC is using hashed plaintext into encrypted block?
You have zero basis upon which to conclude that your algorithm is "safer". See Schneier's Law. Not only can no tool accurately measure entropy given only output bytes, but there are many other important features of a modern cipher like confusion, diffusion, authenticity, and malleability that you seemingly have no awareness of.
Dec
2
comment Is double hashing collision resistant?
What specific threat do you expect to mitigate by hashing twice?
Dec
2
comment Definition of “pepper” in hash functions
The short of it is that there is no widely-agreed upon use of the word "pepper" when it comes to cryptography.
Dec
1
comment CTR or CBC is using hashed plaintext into encrypted block?
What possible evidence do you have that some custom encryption scheme will somehow be more secure than those that have been designed by cryptographers, vetted by the community at large, and have withstood years or more of cryptanalysis? More importantly, what specific weaknesses are there in AES-{128,256}-GCM that you seek to redress?
Nov
14
comment CCA security of a system that splits messages and encrypts each packet
Secure against what?
Nov
10
comment Opinion on my idea for storing credit cards securely
PCI mandates that you never, under any circumstances, store a card's security code.
Nov
3
comment How good is middle cube method with jumbled digits?
Speaking of seed-dependent algorithms, Knuth's attempt at a randomized-algorithm "super-random" number generator is an enlightening read.
Oct
31
comment Type of cipher used where ciphertext has no discernible pattern, spaces. Type?
Any modern cipher operates on bytes, and not characters. You are likely either working with a classical cipher (in which case you have a wide range of cryptanalysis options) or an ASCII encoding of a modern cipher, in which case you're likely out of luck (the output of a modern cipher should be indistinguishable from random data; the ability to distinguish it would be considered a serious break in the algorithm).
Oct
30
comment AES— Brute force attack versus Known plain text attack
To summaize, if you call $F$ "half-encrypt" and $F^{-1}$ "half-decrypt" and take some message for which you know the corresponding ciphertext, you half-encrypt that message with all possible $k_1$ and half-decrypt the ciphertext with all possible $k_2$. There will be some pair of outputs that are identical (e.g., you've "met in the middle"), and for that pair you know the $k_1$, $k_2$ that produced them.
Oct
30
revised AES— Brute force attack versus Known plain text attack
added 54 characters in body
Oct
30
comment AES— Brute force attack versus Known plain text attack
This is a known-plaintext attack, and as demonstrated it is significantly faster than the $2^{128}$ steps (worst-case) it would take to brute force a 128-bit key.
Oct
30
answered AES— Brute force attack versus Known plain text attack
Oct
29
comment Encryption algorithm designed to be easy to decrypt by machine but impractical to decrypt by hand
At that point, why not just used fixed-key AES?
Oct
29
comment How can a good pseudo-random number generator be made?
My recommendation would be to look at the papers behind existing stream ciphers (e.g., Salsa20), and see what they do.
Oct
23
comment How do you test randomness?
You mention that you can only prove with high probability that it wasn't produced randomly or pseudorandomly, but that's not true at all against an intelligent adversary. Any statistical test you perform can be bypassed.
Oct
23
comment Operation which needs much computing power to be created, but just a little to be solved?
Ah, sorry! I had completely inverted his question in my head — he wants the inverse of a trapdoor function. In a sense, he's looking for problems in NP: hard to compute, easy to verify.
Oct
23
comment Operation which needs much computing power to be created, but just a little to be solved?
That's pretty much the basis of much of cryptography.
Oct
23
comment Advantages of combined PRNGs
For what it's worth, combining multiple sources of (potentially-questionable) entropy is exactly what Fortuna is designed to do.