Chitosan functional properties