arXiv Science⌕ Search

arXiv subjects

Brian Carpenter

Publications and source records attributed to Brian Carpenter.

2 recordsLinked to original sources

Free State Words, Claws and Lists: A Collision Attack on 39-Step SHA-256 in One MiB

Li et al. recently gave the first collision attack on 38-step SHA-256 and a 39-step differential characteristic, but judged their method ineffective at 39 steps, where it costs $2^{168}$. We show that this characteristic supports a two-block collision attack on 39-step SHA-256 that costs about $2^{98.7}$ compression-equivalents per expected collision with one MiB of memory, counting every operation on a bit-sliced machine on which one 39-step compression costs 205.6 operations; for any dependence between the trials' tails, the expected cost of the first collision is at most $2^{98.8}$. At 39 steps the first two state words carry no conditions, and leaving both free turns the 32-bit condition on $W_{16}$ into a claw of a single 32-bit map, found with about $2^{11}$ evaluations. The map from the chaining value and the free words to the attack's message words is a bijection, which makes the side conditions on $W_8$ and $W_9$ exact. The next two state words reach $W_{16}$ only through one 32-bit function; on a fibre of that function the claw is unchanged, and each claw tests the condition on $W_{17}$ against 9.7 million second blocks. On the eleven published characteristics of 36 to 39 steps of SHA-256 and SHA-512, the claw pays exactly when the local collision starts at $W_7$ or later. The cost rests on stated heuristic premises, chiefly the measured probability, about $2^{-74.5}$, that steps 18 to 38 end in a collision; the attack has not been run at full scale, and no collision has been found. Timed on one machine, the attack is 4.5 to 5.5 bits cheaper than the joint message-word pinning of Gong et al., which needs a 17 GiB table, on either tail event. On 39-step SHA-512, the same list, searched bit by bit against the conditions on $W_{17}$, lowers the best published estimate from $2^{131.3}$ to about $2^{101}$ compressions per expected collision.

cs.CR↗

A Platform for Generating Educational Activities to Teach English as a Second Language

We present a platform for the generation of educational activities oriented to teaching English as a foreign language. The different activities -- games and language practice exercises -- are strongly based on Natural Language Processing techniques. The platform offers the possibility of playing out-of-the-box games, generated from resources created semi-automatically and then manually curated. It can also generate games or exercises of greater complexity from texts entered by teachers, providing a stage of review and edition of the generated content before use. As a way of expanding the variety of activities in the platform, we are currently experimenting with image and text generation. In order to integrate them and improve the performance of other neural tools already integrated, we are working on migrating the platform to a more powerful server. In this paper we describe the development of our platform and its deployment for end users, discussing the challenges faced and how we overcame them, and also detail our future work plans.

cs.CL↗