Check for empty data being encrypted