1. A method comprising: collecting timestamps of key-press and key-release events detected during keyboard entry of a phrase, wherein the events are presses and releases of keys of a keyboard by one person; calculating key dwell times from the key-press and key-release timestamps; calculating a sum of key dwell times from the key-press and key-release timestamps; calculating key flight times from the key-press and key-release timestamps; calculating a sum of key flight times from the key-press and key-release timestamps; calculating dwell tendency values corresponding to the key dwell times; calculating flight tendency values corresponding to the key flight times; and preparing a keystroke dynamics template from data including the sum of dwell times, the sum of flight times, the dwell tendency values, and the flight tendency values.