IP Library Granted Patent US 12,289,404
Granted Patent B2
US 12,289,404 · App. 18/588,077 · Granted Apr 29, 2025

Password similarity checking using homomorphic encryption operations

Inventors: Roy Hodgman (Cambridge, MA); Vasudha Shivamoggi (Cambridge, MA)
Assignee: Rapid7, Inc.
H04L9/0863G06F21/45H04L9/008
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,289,404
App. No.
18/588,077
Granted
Apr 29, 2025
Kind
B2
Abstract

Various embodiments include systems and methods to implement a password requirement conformity check. During a password reset process, a proposed password is received. A homomorphic encryption operation may be performed on the proposed password to generate a first character string. The first character string may be compared to a previous character string associated with a previous password to determine a password similarity metric. The password similarity metric may or may not satisfy at least a distance threshold. Responsive to determining that the password similarity metric does not satisfy the distance threshold, there may be a rejection of the proposed password and a prompt to receive an alternative proposed password during the password reset process.

Claims (44)

1. A system, comprising:

a password management system implemented by a one or more computer systems, configured to:

perform a password conformity check on a first password, including to:

perform a homomorphic encryption operation on the first password to obtain a first character string, wherein the homomorphic encryption operation when performed on two given strings produces two encrypted strings that preserve a distance between the two given strings;

compare the first character string to a previous character string stored in a password data store and generated by the homomorphic encryption operation on a previous password to determine a first password similarity value between the first password and the previous password; and

based on the first password similarity value, reject the first password and request an alternative password;

perform the password conformity check on the alterative password, including to:

perform the homomorphic encryption operation on the alternative password to generate a second character string;

compare the second character string to the previous character string to determine a second password similarity value;

accept the alternative password based on the second password similarity value; and

store the second character string generated from the alternative password in the password data store.

2. The system of claim 1 , wherein the password management system is configured to perform the password conformity check as part of a periodic password reset process.

3. The system of claim 1 , wherein the first similarity value is a first edit distance between the first character string and the previous character string, and the second similarity value is a second edit distance between the second character string and the previous character string.

4. The system of claim 3 , wherein the first edit distance counts a minimum number of edit operations to transform the previous character string into the first character string, wherein the edit operations include one or more character insertions, character deletions, or character replacements.

5. The system of claim 4 , wherein the password management system is configured to reject the first password based on an edit distance threshold.

6. The system of claim 5 , wherein the password management system is configured receive configuration input to tune the edit distance threshold.

7. The system of claim 1 , wherein:

the alternative password is associated with a user account; and

the password management system is configured perform the password conformity check on the alternative password against multiple previous passwords of the user account that satisfy a recency threshold.

8. The system of claim 1 , wherein the password conformity check performs a check of the alternative password against a password complexity requirement.

9. The system of claim 1 , wherein to reject the first password, the password management system is configured to prevent leakage of information about the previous password through repeated password change attempts.

10. The system of claim 1 , wherein the homomorphic encryption operation is performed using an encryption key, and the encryption key is stored separately from the password data store.

11. A method, comprising:

performing, by a password management system implemented by a one or more computer systems:

performing a password conformity check on a first password, including:

performing a homomorphic encryption operation on the first password to obtain a first character string, wherein the homomorphic encryption operation when performed on two given strings produces two encrypted strings that preserve a distance between the two given strings;

comparing the first character string to a previous character string stored in a password data store and generated by the homomorphic encryption operation on a previous password to determine a first password similarity value between the first password and the previous password; and

based on the first password similarity value, rejecting the first password and requesting an alternative password;

performing the password conformity check on the alterative password, including:

performing the homomorphic encryption operation on the alternative password to generate a second character string;

comparing the second character string to the previous character string to determine a second password similarity value;

accepting the alternative password based on the second password similarity value; and

storing the second character string generated from the alternative password in the password data store.

12. The method of claim 11 , wherein the password conformity check is performed as part of a periodic password reset process.

13. The method of claim 11 , wherein the first similarity value is a first edit distance between the first character string and the previous character string, and the second similarity value is a second edit distance between the second character string and the previous character string.

14. The method of claim 13 , wherein the first edit distance counts a minimum number of edit operations to transform the previous character string into the first character string, wherein the edit operations include one or more character insertions, character deletions, or character replacements.

15. The method of claim 14 , wherein the first password is rejected based on an edit distance threshold.

16. The method of claim 15 , further comprising the password management system receiving configuration input to tune the edit distance threshold.

17. The method of claim 11 , wherein:

the alternative password is associated with a user account; and

the password conformity check of the alternative password is performed against multiple previous passwords of the user account that satisfy a recency threshold.

18. The method of claim 11 , wherein the password conformity check of the alternative password includes a check of the alternative password against a password complexity requirement.

19. The method of claim 11 , wherein the rejecting of the first password prevents leakage of information about the previous password.

20. The method of claim 11 , wherein the homomorphic encryption operation is performed using an encryption key, and the encryption key is stored separately from the password data store.

Assignments (2)
SECURITY INTEREST Recorded Jun 26, 2025
From: RAPID7, INC.; RAPID7 LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 071743/0537 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 17, 2024
From: HODGMAN, ROY; SHIVAMOGGI, VASUDHA
To: RAPID7, INC.; RAPID7, INC.
Reel/Frame 068612/0493 →
Continuity (2)
Continuation 17666824 · Feb 8, 2022
Related Publication 20250062897A1 · Feb 20, 2025
References Cited (11)
US 9722996B1 · Kolman · 2017 [cited by examiner]
US 10826767B2 · Barkovic et al. · 2020 [cited by applicant]
US 10909235B1 · Farivar et al. · 2021 [cited by applicant]
US 20090133120A1 · Cannizzaro · 2009 [cited by examiner]
US 20120167225A1 · Gomez · 2012 [cited by examiner]
US 20200117821A1 · Kaul et al. · 2020 [cited by applicant]
US 20200137096A1 · Endler · 2020 [cited by applicant]
US 20210117533A1 · Malka · 2021 [cited by examiner]
US 20220050894A1 · Miracolo et al. · 2022 [cited by applicant]
Password Similarity Using Probabilistic Data Structures, by Melis et al., published 2020 (Year: 2020). [cited by examiner]
Of Passwords and People: Measuring the Effect of Password-Composition Policies by Shay et al., published 2011. (Year: 2011). [cited by examiner]