# US 2017/0293365 A1 · Assessment of a password based on characteristics of a physical arrangement of keys of a keyboard

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293365 A1
- Document ID: US20170293365A1
- Status: Published application
- Kind: A1
- Application number: 15/095,547
- Filed: 2016-04-11
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Takeshi Miura; Manabu Ohbayashi; Hiroyuki Takenoshita; Yuji Yanagihara
- Web page: https://patentgrep.com/patent/US20170293365A1

## CPC

- G06F 3/023: Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F 21/31: User authentication
- G06F 21/46: by designing passwords or checking the strength of passwords
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a method and system for assessing a password based on characteristics of a physical arrangement of keys of a keyboard. A password including unique characters is stored. For each unique character of the password, a character key of the keyboard which denotes the unique character of the password is determined. A positive flag is assigned to each determined character key of the keyboard. A null flag is assigned to each key of the keyboard that is not one of the determined character keys. A key detection frequency is computed for each key vector of the keyboard. A maximum key detection frequency is determined from among the computed key detection frequencies of the key vectors. The maximum key detection frequency is compared with a threshold key detection frequency, from which it is ascertained whether the maximum key detection frequency is at least the threshold key detection frequency.

## Claims

### Claim 1

A method for assessing a password based on characteristics of a physical arrangement of keys of a keyboard, said method comprising:
storing, in a data store of a computer system by one or more processors of the computer system, a password consisting of a plurality of characters that include at least two unique characters;
for each unique character of the password, said one or more processors determining a character key, of the keyboard, which denotes the unique character of the password;
said one or more processors assigning: (i) to each determined character key of the keyboard, a positive flag having a value equal to at least 1; and (ii) to each key of the keyboard that is not one of the determined character keys, a null flag having a value of 0;
for each key vector of the keyboard, said one or more processors computing a key detection frequency as equal to a sum of the values of the positive flags of the determined character keys in the key vector;
said one or more processors determining a maximum key detection frequency from among the computed key detection frequencies of the key vectors; and
said one or more processors comparing the maximum key detection frequency with a threshold key detection frequency and ascertaining from said comparing whether or not the maximum key detection frequency is equal to or greater than the threshold key detection frequency.

### Claim 2 (depends on 1)

The method of claim 1, said method comprising:
said one or more processors generating and storing, in the data store, a password confidence flag whose value denotes that: (i) the maximum key detection frequency is equal to or greater than the threshold key detection frequency, in response to said ascertaining having ascertained that the maximum key detection frequency is equal to or greater than the threshold key detection frequency; or (ii) the maximum key detection frequency is less than the threshold key detection frequency, in response to said ascertaining having ascertained that the maximum key detection frequency is less than the threshold key detection frequency.

### Claim 3 (depends on 1)

The method of claim 1, wherein the computed key detection frequencies are independent of how the plurality of characters are ordered in the password.

### Claim 4 (depends on 1)

The method of claim 1, said method comprising:
prior to said assigning, said one or more processors determining, for each determined character key of the keyboard, a total number of appearances (M), in the password, of the unique character denoted by said each determined character key, and wherein said assigning comprises assigning, to each determined character key of the keyboard, the positive flag having the value equal to a function f(M) subject to f(M) being equal to at least 1.

### Claim 5 (depends on 4)

The method of claim 4, wherein M>1 for at least one unique character in the password.

### Claim 6 (depends on 5)

The method of claim 5, wherein f(M)=M.

### Claim 7 (depends on 5)

The method of claim 5, wherein f(M) is a non-linear monotonically increasing function of M.

### Claim 8 (depends on 4)

The method of claim 4, wherein M=1 for each unique character in the password.

### Claim 9

A computer program product, comprising one or more computer readable hardware storage devices having computer readable program code stored therein, said program code containing instructions executable by one or more processors of a computer system to implement a method for assessing a password based on characteristics of a physical arrangement of keys of a keyboard, said method comprising, said method comprising:
said one or more processors storing, in a data store of the computer system, a password, said password consisting a plurality of characters that include at least two unique characters;
for each unique character of the password, said one or more processors determining a character key, of the keyboard, which denotes the unique character of the password;
said one or more processors assigning: (i) to each determined character key of the keyboard, a positive flag having a value equal to at least 1; and (ii) to each key of the keyboard that is not one of the determined character keys, a null flag having a value of 0;
for each key vector of the keyboard, said one or more processors computing a key detection frequency as equal to a sum of the values of the positive flags of the determined character keys in the key vector;
said one or more processors determining a maximum key detection frequency from among the computed key detection frequencies of the key vectors; and
said one or more processors comparing the maximum key detection frequency with a threshold key detection frequency and ascertaining from said comparing whether or not the maximum key detection frequency is equal to or greater than the threshold key detection frequency.

### Claim 10 (depends on 9)

The computer program product of claim 9, said method comprising:
said one or more processors generating and storing, in the data store, a password confidence flag whose value denotes that: (i) the maximum key detection frequency is equal to or greater than the threshold key detection frequency, in response to said ascertaining having ascertained that the maximum key detection frequency is equal to or greater than the threshold key detection frequency; or (ii) the maximum key detection frequency is less than the threshold key detection frequency, in response to said ascertaining having ascertained that the maximum key detection frequency is less than the threshold key detection frequency.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the computed key detection frequencies are independent of how the plurality of characters are ordered in the password.

### Claim 12 (depends on 9)

The computer program product of claim 9, said method comprising:
prior to said assigning, said one or more processors determining, for each determined character key of the keyboard, a total number of appearances (M), in the password, of the unique character denoted by said each determined character key, and wherein said assigning comprises assigning, to each determined character key of the keyboard, the positive flag having the value equal to a function f(M) subject to f(M) being equal to at least 1.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein M>1 for at least one unique character in the password.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein f(M)=M.

### Claim 15

A computer system, comprising one or more processors, one or more memories, and one or more computer readable hardware storage devices, said one or more hardware storage device containing program code executable by the one or more processors via the one or more memories to implement a method for assessing a password based on characteristics of a physical arrangement of keys of a keyboard, said method comprising, said method comprising:
said one or more processors storing, in a data store of the computer system, a password, said password consisting a plurality of characters that include at least two unique characters;
for each unique character of the password, said one or more processors determining a character key, of the keyboard, which denotes the unique character of the password;
said one or more processors assigning: (i) to each determined character key of the keyboard, a positive flag having a value equal to at least 1; and (ii) to each key of the keyboard that is not one of the determined character keys, a null flag having a value of 0;
for each key vector of the keyboard, said one or more processors computing a key detection frequency as equal to a sum of the values of the positive flags of the determined character keys in the key vector;
said one or more processors determining a maximum key detection frequency from among the computed key detection frequencies of the key vectors; and
said one or more processors comparing the maximum key detection frequency with a threshold key detection frequency and ascertaining from said comparing whether or not the maximum key detection frequency is equal to or greater than the threshold key detection frequency.

### Claim 16 (depends on 15)

The computer system of claim 15, said method comprising:
said one or more processors generating and storing, in the data store, a password confidence flag whose value denotes that: (i) the maximum key detection frequency is equal to or greater than the threshold key detection frequency, in response to said ascertaining having ascertained that the maximum key detection frequency is equal to or greater than the threshold key detection frequency; or (ii) the maximum key detection frequency is less than the threshold key detection frequency, in response to said ascertaining having ascertained that the maximum key detection frequency is less than the threshold key detection frequency.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the computed key detection frequencies are independent of how the plurality of characters are ordered in the password.

### Claim 18 (depends on 15)

The computer system of claim 15, said method comprising:
prior to said assigning, said one or more processors determining, for each determined character key of the keyboard, a total number of appearances (M), in the password, of the unique character denoted by said each determined character key, and wherein said assigning comprises assigning, to each determined character key of the keyboard, the positive flag having the value equal to a function f(M) subject to f(M) being equal to at least 1.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein M>1 for at least one unique character in the password.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein f(M)=M.
