Tunable functional hydrogels formed from a versatile water-soluble chitosan.