make sure to not try to encrypt or decrypt empty strings