Commit Graph

10 Commits

Author SHA1 Message Date
alexmullins a0910dd023 Move all password related fields to the FileHeader
This will unify the reading and writing API. Eventually
the SetPassword function will be deprecated in favor
of a Password field that is of type func() []byte. This way
the password can be set dynamically. This will also help in
differentiating a nil password and an empty password.
2015-11-26 14:46:37 -06:00
alexmullins cf103a6528 defer authentication/buffering to Read not Open 2015-11-05 23:12:14 -06:00
alexmullins 37ce86c83e move crypto stuff to crypto.go and change README 2015-11-04 21:37:46 -06:00
alexmullins 2d6161cdb6 Change CTR from exported to non-exported 2015-10-31 20:49:00 -05:00
alexmullins 99096bc20c Added little-endian, left-aligned CTR mode 2015-10-31 19:45:55 -05:00
alexmullins a4e475ab56 add test for failing corrupt input into flate 2015-10-29 23:12:02 -05:00
alexmullins 17e26cdce5 fix slice index out of range when dealing with compressed files. 2015-10-29 19:14:48 -05:00
alexmullins 678a885320 change return from newDecryptionReader to io.Reader 2015-10-29 17:07:25 -05:00
alexmullins ea2bc2cf67 Added initial support for reading pw protected files. 2015-10-29 16:14:19 -05:00
alexmullins fa71aa0e14 Initial commit and README.txt 2015-10-27 04:12:51 -05:00