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.
One Time Pad Password Protection: Using T.E.C. Steganography and Secure Password Transmission Protocols
不久前,我发明了一种加密方法。最有利的评论没有看到一种方法,而是一种技术的集合。尽管如此,所使用的过程在论文《风语计算机》中有所描述。本文是关于隐写方法的描述,该方法的密码分析的努力,并在现实世界中的应用,该方法作为一个答案的密码文件黑客越来越多的问题。前提是该技术是一个时间垫的变体,使用一种新的方式来产生一个时间垫输出的数字输入。在文献中根本没有这种方法用于加密的记录。数字加密通常将明文的字母视为二进制数,并进行一些数学计算以产生密文。用随机生成的密钥插入比特的想法是新的。因此(因为使用唯一随机生成的密钥),加密在密码分析上是不可破解的和/或在计算上是安全的和/或在信息理论上是安全的。有一个学术版本。对解密的挑战迄今尚未产生解密。讨论了该方法的优缺点。黑客不断渗透网络并窃取密码文件。一旦拥有了密码文件,黑客就通过互联网上的分布式处理单独或集体地解密散列密码的值。从而进入系统。这个问题对于CAESAR(Competition for Authenticated Encryption:Security,Applicationability,and Robustness)来说已经变得足够重要,因此需要发表论文来解决这个问题。这里是一个建议的解决方案。虽然一次性密码本存在计算密集的问题,但是对于相对较短长度的密码,计算成本对于所提供的安全性而言可能是成本有效的。