12,328 reputation
11352
bio website vyznev.net
location Helsinki, Finland
age
visits member for 3 years, 3 months
seen 2 days ago

I'm a PhD student in biomathematics, working on stochastic individual-based models of evolution in spatially structured populations. My other interests include cryptography, programming games and puzzles, photography and graphic design.

I started programming (in AmigaBASIC) when I was 10 years old. Nowadays, I'm most comfortable using Perl, C and JavaScript. I know Java and PHP too, but I can't really say I like them. I also know some Python, but not as much as I'd like.


CC-Zero Please consider any (original) code I post to Stack Overflow and other Stack Exchange sites to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.


I'm the main author and maintainer of the Stack Overflow Unofficial Patch (SOUP), a user script for browsers with GreaseMonkey-compatible user script support (Firefox, Chrome, Opera, possibly Safari) that fixes or works around a number of outstanding issues with the Stack Exchange user interface.

I tend to answer a lot more questions than I ask. Some answers I'm rather proud of:


Sep
28
comment Who uses Dual_EC_DRBG?
@nealmcb: True. Color me surprised.
Sep
25
reviewed Excellent Relationship between Elliptic Curve Discrete Log, Integer Discrete Log, and Integer Factorization
Sep
25
reviewed Satisfactory Generate Elliptic Curve Private Key from User Passphrase?
Sep
25
reviewed Satisfactory Is it theoretically possible to construct a string that contain its own hash value?
Sep
25
reviewed Excellent Does the GCM authentication tag need to be protected?
Sep
25
reviewed Satisfactory Will our app be FIPS 140-2 compliant if we use our own AES algorithm implementation?
Sep
25
reviewed Satisfactory How relevant are hardware implementations of crypto algorithms?
Sep
25
comment How broken is a xor of two LCGs?
+1, excellent analysis! It does seem to me, however, that much if not all of the issues you identified basically arise from a poor choice of modulus. What if the proposed algorithm was modified to use, say, $p=18446744073709551557=2^{64}-59$? That wouldn't leave much bias to detect, and it would also simplify the implementation. I suppose that might be better asked as a separate question, though.
Sep
19
revised How would I make a secret notation alphabet more secure?
addendum
Sep
19
revised How would I make a secret notation alphabet more secure?
edited tags
Sep
19
answered How would I make a secret notation alphabet more secure?
Sep
19
reviewed Approve suggested edit on Why not the one-time pad with pseudo-number generator
Sep
19
comment Which encryption method supports random reads?
@CodesInChaos: Good point about not reusing the keystream. See the edit I just made to my answer for some ways to address it.
Sep
19
revised Which encryption method supports random reads?
addendum
Sep
19
comment Which encryption method supports random reads?
@tylo: True, CFB and CBC also support random-access decryption, although encryption with those modes is inherently sequential. Unlike CTR mode, they also require you to retrieve the entire previous block of the ciphertext (and for CBC, the entire current block too) in order to decrypt any part of a block.
Sep
19
revised What does it mean to be simultaneously hardcore?
quote formatting, spelling in title
Sep
19
comment Shamir's secret sharing with passwords
Related, possibly duplicate: crypto.stackexchange.com/questions/2970/…. The scheme I describe in my answer there is basically the same as your XOR-based one.
Sep
18
revised Can one implement AES on 4-bit microcontroller?
edited tags
Sep
18
revised Smart Card Basics
edited tags
Sep
18
revised Signature schemes for underpowered devices (8bit microcontroller)
edited tags