alexmullins
119f51e65c
Fix proper number of bytes returned from streaming
2015-11-06 00:54:33 -06:00
alexmullins
8d81f262c6
Setup ground work for streaming/buffered reading.
...
Buffered reading is recommended as it will fully
authenticate the ciphertext before sending any data
to be decrypted. Streaming authentication is only
recommended if: 1. you buffer the data yourself
and wait for authentication before streaming to another
source such as the network, or 2. you just don't
care about authenticating unknown ciphertext before use :).
2015-11-06 00:50:54 -06:00
alexmullins
fb959e1749
move all password tests to crypto_test.go
2015-11-05 23:13:02 -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
5e7b6fad69
update README.txt to explain CTR differences and possible solution.
2015-10-30 17:24:00 -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
edac1e895f
change README.txt
2015-10-29 17:58:39 -05:00
alexmullins
68b4ba496f
add Storage Format section to README.txt
2015-10-29 17:57:24 -05:00
alexmullins
cff816a2e0
add Storage Format section to README.txt
2015-10-29 17:56:21 -05:00
alexmullins
07d1d9c5ce
change README.txt
2015-10-29 17:51:39 -05:00
alexmullins
fa886aad19
change README.txt
2015-10-29 17:50:49 -05:00
Alex Mullins
122901eb8d
Update README.txt
2015-10-29 17:37:13 -05:00
alexmullins
e411582be8
change README.txt
2015-10-29 17:18:39 -05:00
alexmullins
e7e638f095
change reader exmple to show usage of SetPassword
2015-10-29 17:15:39 -05:00
alexmullins
678a885320
change return from newDecryptionReader to io.Reader
2015-10-29 17:07:25 -05:00
alexmullins
abdb448165
change package documentation header to include add. features
2015-10-29 16:47:39 -05:00
alexmullins
05a3bcf75e
add another test case for reading multiple encrypted files.
2015-10-29 16:44:18 -05:00
alexmullins
ea2bc2cf67
Added initial support for reading pw protected files.
2015-10-29 16:14:19 -05:00
alexmullins
5ca6f99620
update README.txt
2015-10-27 04:25:11 -05:00
alexmullins
fa71aa0e14
Initial commit and README.txt
2015-10-27 04:12:51 -05:00