Hello,
you ar reading the whole file in memory.
|
src, err := ioutil.ReadAll(plainFile) |
Can you make a Version without reading the whole file in memory,
for example, to use "io.reader" or ...
or an new api like this
func (c *AESCrypt) Encrypt(src io.Reader, dst io.Writer)
Why:
Less memory by encrypting big files.
by the way
Nice Work
Greets and Thanks
Michael
Hello,
you ar reading the whole file in memory.
aescrypt/aescrypt.go
Line 113 in 9d62321
Can you make a Version without reading the whole file in memory,
for example, to use "io.reader" or ...
or an new api like this
func (c *AESCrypt) Encrypt(src io.Reader, dst io.Writer)
Why:
Less memory by encrypting big files.
by the way
Nice Work
Greets and Thanks
Michael