Template protection for on-line signature-based recognition systems