John starr rocks!
This commit is contained in:
1 parent
d2cd50b2e3
commit
0095eb7159
12 files changed
+343
-9
No files matched your search
@@ -137,7 +137,6 @@ func (this *Payload) computeHash(reader io.Reader) (io.Reader, error) {
|
||||
}(readerHash)
|
||||
|
||||
return read, nil
|
||||
|
||||
}
|
||||
|
||||
func (this *Payload) encrypt(reader io.Reader, stream cipher.Stream) (io.Reader, error) {
|
||||
@@ -148,5 +147,4 @@ func (this *Payload) encrypt(reader io.Reader, stream cipher.Stream) (io.Reader,
|
||||
cipherWriter.Close()
|
||||
}(stream)
|
||||
return this.computeHash(ret)
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user