arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.06128cs.CR
收藏

基于条件加密的应用于安全的个性化密码拼写纠正

Conditional Encryption with Applications to Secure Personalized Password Typo Correction

Purdue University(普渡大学)

Mohammad Hassan Ameri, Jeremiah Blocki

AI总结:

本文提出条件加密概念,用于增强个性化密码拼写纠正系统的安全性,通过Paillier和Shamir方案构建高效构造,并验证其安全性。

摘要:

我们引入了条件加密方案的概念,作为公钥加密的扩展。除了标准的公钥算法(KG,Enc,Dec)用于密钥生成、加密和解密外,针对二元谓词P的条件加密方案还添加了一个新的条件加密算法CEnc。条件加密算法c=CEnc_{pk}(c1,m2,m3)的输入是公钥pk,一个未知消息m1的密文c1,控制消息m2和负载消息m3,并输出条件密文c。直观上,如果P(m1,m2)=1,则条件密文c应解密为负载消息m3。另一方面,如果P(m1,m2)=0,则即使攻击者已经拥有秘密解密密钥sk,密文也不应泄露任何关于控制消息m2或负载消息m3的信息。我们正式化了条件加密保密性的概念,并为与密码拼写纠正相关的谓词集提供了具体高效的构造。我们的实际构造利用了Paillier部分同态加密方案以及Shamir秘密共享。我们证明了我们的构造是安全的,并展示了如何使用条件加密来提高个性化密码拼写纠正系统(如TypTop)的安全性。我们实现了一个C++库用于我们的实际高效的条件加密方案,并进行了实证性能评估。我们还更新了TypTop的实现以利用条件加密以获得增强的安全性保证,并评估了更新后的实现性能。

英文摘要:

We introduce the notion of a conditional encryption scheme as an extension of public key encryption. In addition to the standard public key algorithms ($\mathsf{KG}$, $\mathsf{Enc}$, $\mathsf{Dec}$) for key generation, encryption and decryption, a conditional encryption scheme for a binary predicate $P$ adds a new conditional encryption algorithm $\mathsf{CEnc}$. The conditional encryption algorithm $c=\mathsf{CEnc}_{pk}(c_1,m_2,m_3)$ takes as input the public encryption key $pk$, a ciphertext $c_1 = \mathsf{Enc}_{pk}(m_1)$ for an unknown message $m_1$, a control message $m_2$ and a payload message $m_3$ and outputs a conditional ciphertext $c$. Intuitively, if $P(m_1,m_2)=1$ then the conditional ciphertext $c$ should decrypt to the payload message $m_3$. On the other hand if $P(m_1,m_2) = 0$ then the ciphertext should not leak any information about the control message $m_2$ or the payload message $m_3$ even if the attacker already has the secret decryption key $sk$. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑