• 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
..
armor Loading commit data...
error Loading commit data...
packet Loading commit data...
s2k Loading commit data...
Makefile Loading commit data...
canonical_text.go Loading commit data...
canonical_text_test.go Loading commit data...
keys.go Loading commit data...
read.go Loading commit data...
read_test.go Loading commit data...
write.go Loading commit data...
write_test.go Loading commit data...