ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2409.06128
23
0

Conditional Encryption with Applications to Secure Personalized Password Typo Correction

10 September 2024
Mohammad Hassan Ameri
Jeremiah Blocki
ArXivPDFHTML
Abstract

We introduce the notion of a conditional encryption scheme as an extension of public key encryption. In addition to the standard public key algorithms (KG\mathsf{KG}KG, Enc\mathsf{Enc}Enc, Dec\mathsf{Dec}Dec) for key generation, encryption and decryption, a conditional encryption scheme for a binary predicate PPP adds a new conditional encryption algorithm CEnc\mathsf{CEnc}CEnc. The conditional encryption algorithm c=CEncpk(c1,m2,m3)c=\mathsf{CEnc}_{pk}(c_1,m_2,m_3)c=CEncpk​(c1​,m2​,m3​) takes as input the public encryption key pkpkpk, a ciphertext c1=Encpk(m1)c_1 = \mathsf{Enc}_{pk}(m_1)c1​=Encpk​(m1​) for an unknown message m1m_1m1​, a control message m2m_2m2​ and a payload message m3m_3m3​ and outputs a conditional ciphertext ccc. Intuitively, if P(m1,m2)=1P(m_1,m_2)=1P(m1​,m2​)=1 then the conditional ciphertext ccc should decrypt to the payload message m3m_3m3​. On the other hand if P(m1,m2)=0P(m_1,m_2) = 0P(m1​,m2​)=0 then the ciphertext should not leak any information about the control message m2m_2m2​ or the payload message m3m_3m3​ even if the attacker already has the secret decryption key sksksk. We formalize the notion of conditional encryption secrecy and provide concretely efficient constructions for a set of predicates relevant to password typo correction. Our practical constructions utilize the Paillier partially homomorphic encryption scheme as well as Shamir Secret Sharing. We prove that our constructions are secure and demonstrate how to use conditional encryption to improve the security of personalized password typo correction systems such as TypTop. We implement a C++ library for our practically efficient conditional encryption schemes and evaluate the performance empirically. We also update the implementation of TypTop to utilize conditional encryption for enhanced security guarantees and evaluate the performance of the updated implementation.

View on arXiv
Comments on this paper