Joe Doyle
Joe Doyle
Is it possible to multithread "full" mode encryption? As it is, full mode seems much slower than it should be, and I think this is because it is forced to...
This warning implies that users of `PublicKey::from_bytes` must do separate validation before calling it. This used to be the case, but the eager decompression added in https://github.com/dalek-cryptography/ed25519-dalek/commit/8dbaf9a8d249a24a5225a1247195d4135669f608 means that `PublicKey::from_bytes(bytes).is_ok()`...
Consider [this example](http://try.docopt.org/?doc=Naval+Fate.%0D%0A%0D%0AUsage%3A%0D%0A++naval_fate.py+ship+new+%3Cname%3E...%0D%0A++naval_fate.py+ship+%3Cname%3E+move+%3Cx%3E+%3Cy%3E+[--speed%3D%3Ckn%3E]%0D%0A++naval_fate.py+ship+shoot+%3Cx%3E+%3Cy%3E%0D%0A++naval_fate.py+mine+(set|remove)+%3Cx%3E+%3Cy%3E+[--moored|--drifting]%0D%0A++naval_fate.py+-h+|+--help%0D%0A++naval_fate.py+--version%0D%0A%0D%0AOptions%3A%0D%0A++-h+--help+++++Show+this+screen.%0D%0A++--version+++++Show+version.%0D%0A++--speed%3D%3Ckn%3E++Speed+in+knots+[default%3A+10].%0D%0A++--moored++++++Moored+(anchored)+mine.%0D%0A++--drifting++++Drifting+mine.%0D%0A%0D%0A&argv=ship). Per the reference implementation, an incorrect sequence of arguments should output the brief usage description. I adapted the example from the readme: ``` {-# LANGUAGE QuasiQuotes #-}...
Fixes https://github.com/docopt/docopt.hs/issues/32. This makes 3 main changes to this library's behavior: 1) `pUsagePatterns` (and thus `pDocopt`) parses out the "Usage:" section of the helpstring as a string and returns that....
Fixes https://github.com/docopt/docopt.hs/issues/32. (moved from https://github.com/docopt/docopt.hs/pull/50 -- it looks like it'll need a few more edits now since 2.5 years ago :) ) This makes 3 main changes to this library's...
The `while i * HASHLEN < outlen` pattern in `squeeze_and_ratchet` for both `ShoSha256` and `ShoHmacSha256` can overflow if given an extremely large `outlen`, leading to a panic in `debug` mode...
This is still WIP. So far it is basically a PoC of what is needed to perform these changes. The overall checklist before merging is: - [x] Restore the deleted...
The following test fails on the last line: ``` #[test] fn test_current_pos() { let offset: u64 = 256u64