







摘 要:隨著信息化技術的發展,涉及到個人信息的數據規模也在增加,如果大量的個人信息泄露,不僅會導致用戶生命財產受損,更會破壞市場秩序、制約經濟發展,甚至會引發公共安全危機。該研究旨在保護本地數據庫安全,采用Paillier同態加密算法對數據庫進行加密。通過測試,可以實現對指定數據庫、表及字段進行加解密操作,有效防范他人對本地數據庫數據的惡意竊取泄露,提高用戶本地計算機的安全性,保護用戶數據隱私。
關鍵詞:信息安全;數據庫;同態加密;Paillier算法;系統測試
中圖分類號:TP391.1 文獻標志碼:A 文章編號:2095-2945(2024)30-0080-04
Abstract: With the development of information technology, the scale of data involving personal information is also increasing. If a large amount of personal information is leaked, it will not only cause damage to users' lives and property, but also destroy market order, restrict economic development, and even trigger a public security crisis. This research aims to protect the security of the6Wx7iN8GBxfINba59nrFKA== local database and uses the Paillier homomorphic encryption algorithm to encrypt the database. Through testing, encryption and decryption operations on specified databases, tables and fields can be realized, effectively preventing others from malicious theft and disclosure of local database data, improving the security of users' local computers, and protecting user data privacy.
Keywords: information security; database; homomorphic encryption; Paillier algorithm; system testing
隨著信息化的發展,數據規模的增長,保護數據安全是當下需要重視的。目前,保障數據庫安全的主要途徑包括身份驗證、防火墻等,但數據泄露仍頻繁發生,證明僅有的這些措施不足以解決問題。
為保護數據庫安全,使合法用戶安全訪問數據,最有效的途徑還是數據加密。數據加密可以有效避免數據的非法訪問,防止數據遭遇不法侵入。本設計旨在通過同態加密技術對關鍵數據庫中數據進行加密處理,實現數據保護。
1978年,Rivest等人第一次提出秘密同態技術[1-4],他們發現其可以處理密文間的直接運算問題。ElGamal和Paillier又分別于1984年和1999年提出弱同態加密算法,ElGamal算法屬于乘法同態加密算法,其安全性由有限域上的離散對數的計算難題決定;Paillier算法具有加性同態,它的安全性基于復合剩余類的問題的確定,它們都因為加入隨機數的選擇具備更高的安全性。……