231 reputation
18
bio website github.com/louismullie
location Montréal, Canada
age 23
visits member for 1 year, 5 months
seen Nov 12 at 23:59

Jul
29
accepted PAK Diffie-Hellman vs. sharing high-entropy key
Jul
9
comment Encrypting text file line by line with stable encryption
This is actually a modification of the code by jacobsa: github.com/jacobsa/crypto. I didn't bother taking out the added comments, but you are right about why that error was happening in the original code (which is now fixed). Obviously this is not "production-ready" code, but it will get you far enough in terms of understanding the mechanics of the algorithm.
Jul
8
comment Encrypting text file line by line with stable encryption
Check out github.com/cryodex/siv-rb for a Ruby extension, which wraps around a C implementation by Dan Harkins.
Jul
5
comment Encrypting text file line by line with stable encryption
AES-SIV - tools.ietf.org/html/rfc5297 - is an appropriate algorithm to use in this case.
Jul
2
awarded  Curious
Jun
28
awarded  Yearling
Apr
11
comment Difference between plain AES CTR and “CCM-style” CTR
This was helpful re: "standard" CTR functionality: security.stackexchange.com/questions/4606/…
Apr
11
accepted Difference between plain AES CTR and “CCM-style” CTR
Apr
10
comment Difference between plain AES CTR and “CCM-style” CTR
In this case the ctr is initialized with an array of 4 big-endian words, each 4 bytes in length. From what I can tell, this array is used a) to store the L parameter + the IV (up to 12 bytes) and b) to store the counter (4 bytes). Can I just replace the L+IV part with a 12-byte IV, keep the 4-byte counter and do away with all of the rest of the code that deals with authentication?
Apr
10
asked Difference between plain AES CTR and “CCM-style” CTR
Apr
10
revised Security of this deterministic encryption scheme
edited tags
Apr
10
comment Security of this deterministic encryption scheme
@fgrieu Is SIV vulnerable to the same types of side-channel attacks?
Apr
10
accepted What's wrong with this “order-preserving MAC” function?
Apr
9
asked Security of this deterministic encryption scheme
Apr
8
comment What's wrong with this “order-preserving MAC” function?
Excellent, thanks for your help.
Apr
8
comment What's wrong with this “order-preserving MAC” function?
Can this attack be mitigated if the step size is derived from the initial secret, such that it falls within a suitably large random range, and kept away from the adversary?
Apr
8
comment What's wrong with this “order-preserving MAC” function?
Now I see where this scheme fails. Any of you guys care to put up your comment as an answer?
Apr
8
comment What's wrong with this “order-preserving MAC” function?
@fgrieu 1) I updated the title - indeed it's a MAC that is used, as shown in the pseudo-code. 2) I updated the pseudo-code to make it clear what this does.
Apr
8
revised What's wrong with this “order-preserving MAC” function?
edited title
Apr
8
revised What's wrong with this “order-preserving MAC” function?
edited title