Error when calling decrypt empty ciphertext data
Instead of a panic, return an error when the decrypt function does not receive enough ciphertext data to perform decryption. Also, add additional checking for empty data lengths when reading from and writing to files.
Fixes Issue #1
Edited by Richard T. Carback III