Implement integrity-check feature for Encryptor. Closes #14.