summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* problem 24, part 1Jesse Luehrs2015-04-052-0/+16
|
* remove a bunch of unnecessary importsJesse Luehrs2015-04-054-26/+19
|
* implement a stream cipher based on mersenne twisterJesse Luehrs2015-04-052-0/+19
|
* problem 22Jesse Luehrs2015-04-052-0/+32
|
* also allow creating MersenneTwister instances from full stateJesse Luehrs2015-04-051-0/+16
|
* implement Debug for MersenneTwisterJesse Luehrs2015-04-051-0/+11
| | | | | can't just derive it, because [_; 624] doesn't have a Debug implementation
* problem 21Jesse Luehrs2015-04-052-0/+70
|
* update rustJesse Luehrs2015-04-052-7/+6
|
* problem 20Jesse Luehrs2015-04-042-0/+50
| | | | i think this is as far as possible, anyway
* refactor to allow specifying the keysizeJesse Luehrs2015-04-041-28/+32
|
* update rustcJesse Luehrs2015-03-301-1/+3
|
* problem 18Jesse Luehrs2015-03-282-0/+31
|
* reorganizeJesse Luehrs2015-03-284-445/+443
|
* problem 17Jesse Luehrs2015-03-282-0/+34
|
* padding byte of 0x00 isn't validJesse Luehrs2015-03-281-1/+1
|
* make the decrypt primitives return options based on valid paddingJesse Luehrs2015-03-271-8/+10
|
* no reason to repeatedly pad hereJesse Luehrs2015-03-261-2/+2
|
* problem 16Jesse Luehrs2015-03-252-0/+9
|
* consistencyJesse Luehrs2015-03-251-1/+1
|
* problem 15Jesse Luehrs2015-03-253-4/+16
|
* problem 14Jesse Luehrs2015-03-252-8/+32
|
* update rustc againJesse Luehrs2015-03-251-1/+1
|
* let find_block_size work even if the function has a prefix paddingJesse Luehrs2015-03-231-1/+11
|
* factor this outJesse Luehrs2015-03-231-8/+10
|
* a few more explicit slices necessary for new rustJesse Luehrs2015-03-221-2/+2
|
* fix warningsJesse Luehrs2015-03-201-11/+13
|
* problem 13Jesse Luehrs2015-03-202-0/+88
|
* don't panic if we can't parse the query stringJesse Luehrs2015-03-201-16/+19
| | | | the query string comes from external input, so it should be more robust
* and also implement the inverseJesse Luehrs2015-03-192-0/+49
|
* also make this publicJesse Luehrs2015-03-192-1/+2
|
* this should all just deal in stringsJesse Luehrs2015-03-191-15/+12
|
* add query string parserJesse Luehrs2015-03-172-0/+39
|
* problem 12Jesse Luehrs2015-03-172-2/+74
|
* allow these functions to work on arbitrary block sizesJesse Luehrs2015-03-171-8/+12
|
* problem 11Jesse Luehrs2015-03-172-1/+27
|
* factor this outJesse Luehrs2015-03-161-7/+12
|
* also implement encrypting in cbc modeJesse Luehrs2015-03-162-0/+49
|
* handle padding properlyJesse Luehrs2015-03-152-13/+9
|
* problem 10Jesse Luehrs2015-03-152-0/+28
|
* problem 9Jesse Luehrs2015-03-152-0/+12
|
* split things up a bitJesse Luehrs2015-03-156-247/+263
|
* problem 8Jesse Luehrs2015-03-151-0/+20
|
* if we disallow control characters, we get much more reasonable resultsJesse Luehrs2015-03-151-0/+3
|
* problem 7Jesse Luehrs2015-03-151-0/+10
|
* problem 6Jesse Luehrs2015-03-151-1/+80
|
* adjust the english letter frequencies a bitJesse Luehrs2015-03-151-25/+25
| | | | http://norvig.com/mayzner.html
* hamming distanceJesse Luehrs2015-03-151-0/+24
|
* more refactoringJesse Luehrs2015-03-151-9/+9
|
* problem 5Jesse Luehrs2015-03-151-0/+12
|
* problem 4Jesse Luehrs2015-03-151-3/+13
|