The DecryptBinaryBytes, EncryptBinaryBytes* methods allow the data
being decrypted/encrypted to be in a binary form, not base64.
Addresses issue #14.
Signed-off-by: Owen McGill <mcgillo.rnx@gmail.com>
- This removes messagedigest guessing as it might lead to race
conditions during decryption when an md5 digest works as a
valid key for the sha256 encrypted data
- This removes deprecated functions (the previous point introduces
a breaking change so this does not introduce another one)
fixes#10
Signed-off-by: Knut Ahlers <knut@ahlers.me>