• Adam Langley's avatar
    crypto/openpgp: add support for symmetrically encrypting files. · e0cca45f
    Adam Langley authored
    This mostly adds the infrastructure for writing various forms of
    packets as well as reading them. Adding symmetric encryption support
    was simply an easy motivation.
    
    There's also one brown-paper-bag fix in here. Previously I had the
    conditional for the MDC hash check backwards: the code was checking
    that the hash was *incorrect*. This was neatly counteracted by another
    bug: it was hashing the ciphertext of the OCFB prefix, not the
    plaintext.
    
    R=bradfitz
    CC=golang-dev
    https://golang.org/cl/4564046
    e0cca45f
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...