Types of typing patterns
Typing patterns are at the core of Authentication API's capabilities to be able to capture a person typing behavior when they type on their keyboards. The way you capture a person biometric traits determines the quality and the accuracy of the identity recognition technology. This is why it's important for developers to understand and have the right integration of typing biometrics capabilities in their platform.
Types of typing patterns and how to use them?
There are two types of typingdna patterns that the Authentication API JavaScript recorder class can capture and they are used for different scenarios.
1. Sametext pattern (type: 1)
Use this type of typing pattern when you want to authenticate a user on the exactly the same text that was used when he was enrolled. Typical same texts are typed emails, usernames, passwords, first names, last names, phone numbers, credit card numbers, and short identical sentences. If you change a character of any of these, you will not be able to correctly use them.
A few good examples:
Enrollment text |
Authentication text |
richard@email.com
Characters: 17 Function example: tdna.getTypingPattern ({    type: 1,    text: "richard@email.com" }) |
richard@email.com
✓ Characters: 17 ✓ Same text as in enrollment |
Make yourself necessary to somebody
Characters: 35 Function example: tdna.getTypingPattern ({    type: 1,    text: "Makeyourselfnecessarytosomebody" }) |
Make yourself necessary to somebody
✓ Characters: 35 ✓ Same text as in enrollment |
1229169949191439
Characters: 16 Function example: tdna.getTypingPattern ({    type: 1,    text: "1229169949191439" }) |
1229169949191439
✓ Characters: 16 ✓ Same text as in enrollment |
A few bad examples:
Enrollment text |
Verification text |
richard@email.com
Characters: 17 |
aaron@company.com
✓ Characters: 17 ✗ Same text as in enrollment |
Cars are useful but they pollute our environment.
Characters: 49 |
It's a wonderful day to explore the city on a bicycle.
✗ Characters: 54 ✗ Same text as in enrollment |
2353710135191810
Characters: 16 |
1229169949191439
✓ Characters: 16 ✗ Same text as in enrollment |
2. Anytext pattern (type: 0)
Use this type of typing pattern when you want to authenticate a user on different text than the one used for enrollment. Typical any text are typed text that is usually different each time like composing emails, writing documents, and having conversations.
A good example:
Enrollment text |
Verification text |
Cars are useful but they pollute our environment. It's a wonderful day to explore the city on a bicycle. Which one would you choose from these two tentative options?
Characters: 165 Function example: tdna.getTypingPattern ({    type: 0,    length=165 }) |
To be capable of steady friendship or lasting love, are the two greatest proofs, not only of goodness of heart, but of strength of mind.
Author: William Hazlitt ✓ Characters: 136 ✓ Different text as in enrollment |
A bad example:
Enrollment text |
Verification text |
Cars are useful but they pollute our environment. It's a wonderful day to explore the city on a bicycle. Which one would you choose from these two tentative options?
Characters: 165 |
Cars are useful but they pollute our environment. It's a wonderful day to explore the city on a bicycle. Which one would you choose from these two tentative options?
Author: William Hazlitt ✓ Characters: 136 ✗ Different text as in enrollment |
For more support, contact us at support@typingdna.com.
Related tutorials