Claims (12)
一種利用隱私同態加密(privacy homomorphism cryptography)來提供社交網路服務(social network service,SNS)之方法,其包含:一第一用戶利用一第一行動裝置發出一活動邀約至一伺服器,其中該活動邀約包含相關於一活動之各項資訊;在收到該活動邀約後,該伺服器利用一公共密鑰對相關於該活動之各項資訊進行一特定加密,接著對加密後之該各項資料進行一第一特定運算以得到一相對應之第一密文,再將該第一密文透過一基地台發送;在收到該第一密文後,一第二用戶利用一第二行動裝置發出一加密認證回覆至該伺服器以表明接受該活動邀約;在收到該加密認證回覆後,該伺服器利用該公共密鑰對該第二用戶之私人資料進行該特定加密,接著對該第二用戶之加密私人資料進行一第二特定運算以得到一相對應之第二密文,再將該第二密文透過該基地台發送至該第一行動裝置,其中該特定加密、該第一特定運算和該第二特定運算係符合該隱私同態加密之特性;以及在收到該第二密文後,該第一用戶依據該隱私同態加密
之特性解出一相對應之運算結果,再利用一第一私人密鑰對該運算結果進行隱私同態解密以得到該第二用戶之私人資料。
A method for providing a social network service (SNS) by using a privacy homomorphism cryptography, comprising: a first user using a first mobile device to send an activity offer to a server, wherein The event invitation includes information related to an event; after receiving the invitation, the server uses a public key to perform a specific encryption on the information related to the activity, and then encrypts each of the information. The item data is subjected to a first specific operation to obtain a corresponding first ciphertext, and the first ciphertext is sent through a base station; after receiving the first ciphertext, a second user utilizes a second The mobile device sends an encrypted authentication reply to the server to indicate acceptance of the activity offer; after receiving the encrypted authentication reply, the server uses the public key to perform the specific encryption on the second user's private data, and then The second user's encrypted private data is subjected to a second specific operation to obtain a corresponding second ciphertext, and the second ciphertext is sent to the first ciphertext through the base station. Mobile device, wherein the specific encryption, the first and the second specific operation in line with the characteristics of the particular operation based homomorphic encryption of the privacy; and after receiving the second ciphertext, the first user according to the privacy homomorphic encryption
The feature solves a corresponding operation result, and then uses a first private key to perform a privacy homomorphic decryption on the operation result to obtain the private data of the second user.
如請求項1所述之方法,其另包含:該第一用戶向該伺服器要求該第一私人密鑰以取得使用該社交網路服務之權限。
The method of claim 1, further comprising: the first user requesting the first private key from the server to obtain the right to use the social network service.
如請求項1所述之方法,其中發出該加密認證回覆係允許該第一用戶讀取該第二用戶之私人資料。
The method of claim 1, wherein issuing the encrypted authentication reply allows the first user to read the private data of the second user.
如請求項1所述之方法,其中該活動邀約另包含要求該活動之參與者必須提供特定私人資料或允許將該第一用戶之特定私人資料提供給該活動之參與者。
The method of claim 1, wherein the activity offer further comprises a participant requesting the activity to provide a particular private profile or to provide the first user's particular private profile to the participant of the activity.
一種利用隱私同態加密來提供社交網路服務之方法,其包含:一第一用戶利用一第一行動裝置發出一活動邀約至一伺服器,其中該活動邀約包含相關於一活動之各項資訊;在收到該活動邀約後,該伺服器利用一公共密鑰對相關於該活動之各項資訊進行一特定加密,接著對加密後之該各項資料進行一第一特定運算以得到一相對
應之第一密文,再將該第一密文透過一基地台發送;在收到該第一密文後,一第二用戶利用一私人密鑰對該第一密文進行隱私同態解密以得到一運算結果,再利用該第二行動裝置傳送該運算結果至該伺服器以查詢相關於該活動之各項資訊,並在決定參與該活動後發出一加密認證回覆至該伺服器以表明接受該活動邀約;以及在收到該加密認證回覆後,該伺服器利用該公共密鑰對該第二用戶之私人資料進行該特定加密,接著對該第二用戶之加密私人資料進行一第二特定運算以得到一相對應之第二密文,再將該第二密文透過該基地台發送至該第一行動裝置,其中該特定加密、該第一特定運算和該第二特定運算係符合該隱私同態加密之特性。
A method for providing a social network service by using privacy homomorphic encryption, comprising: a first user using a first mobile device to send an activity invitation to a server, wherein the activity invitation includes information related to an activity After receiving the invitation of the activity, the server uses a public key to perform a specific encryption on the information related to the activity, and then performs a first specific operation on the encrypted data to obtain a relative
In response to the first ciphertext, the first ciphertext is sent through a base station; after receiving the first ciphertext, a second user uses a private key to perform privacy homomorphic decryption on the first ciphertext To obtain an operation result, the second mobile device is used to transmit the operation result to the server to query various information related to the activity, and after deciding to participate in the activity, an encrypted authentication reply is sent to the server to indicate Accepting the activity offer; and after receiving the encrypted authentication reply, the server uses the public key to perform the specific encryption on the second user's private data, and then performs a second on the second user's encrypted private data. Performing a specific operation to obtain a corresponding second ciphertext, and transmitting the second ciphertext to the first mobile device through the base station, wherein the specific encryption, the first specific operation, and the second specific operation are consistent This privacy is a feature of homomorphic encryption.
如請求項5所述之方法,其另包含:該第二用戶向該伺服器要求該私人密鑰以取得使用該社交網路服務之權限。
The method of claim 5, further comprising: the second user requesting the private key from the server to obtain the right to use the social network service.
如請求項5所述之方法,其中發出該加密認證回覆係允許該第一用戶讀取該第二用戶之私人資料。
The method of claim 5, wherein the issuing the encrypted authentication reply allows the first user to read the private data of the second user.
如請求項5所述之方法,其中該活動邀約另包含要求該
活動之參與者必須提供特定私人資料或允許將該第一用戶之特定私人資料提供給該活動之參與者。
The method of claim 5, wherein the activity invitation further comprises requesting the
Participants in the event must provide specific personal information or allow the first user's specific private information to be provided to the participants of the activity.
一種利用隱私同態加密來提供社交網路服務之方法,其包含:一第一用戶利用一第一行動裝置發出一活動邀約至一伺服器,其中該活動邀約包含相關於一活動之各項資訊;在收到該活動邀約後,該伺服器利用一公共密鑰對相關於該活動之各項資訊進行一特定加密,接著對加密後之該各項資料進行一第一特定運算以得到一相對應之第一密文,再將該第一密文透過一基地台發送;在收到該第一密文後,一第二用戶利用一第二行動裝置發出一加密認證回覆至該伺服器以表明接受該活動邀約;以及在收到該加密認證回覆後,該伺服器利用該公共密鑰對該第二用戶之私人資料進行該特定加密,接著對該第二用戶之加密私人資料進行一第二特定運算以得到一相對應之第二密文以及對該第一用戶之加密私人資料進行一第三特定運算以得到一相對應之第三密文,再將該第二密文透過該基地台發送至該第一行動裝置以及將該第三密文透過該基地台發送至該第二行動裝置,其中該特定加密、該第一特定運算、
該第二特定運算和該第三特定運算係符合該隱私同態加密之特性。
A method for providing a social network service by using privacy homomorphic encryption, comprising: a first user using a first mobile device to send an activity invitation to a server, wherein the activity invitation includes information related to an activity After receiving the invitation of the activity, the server uses a public key to perform a specific encryption on the information related to the activity, and then performs a first specific operation on the encrypted data to obtain a phase. Corresponding to the first ciphertext, the first ciphertext is sent through a base station; after receiving the first ciphertext, a second user sends an encrypted authentication reply to the server by using a second mobile device. Demonstrating acceptance of the activity offer; and after receiving the encrypted authentication reply, the server uses the public key to perform the specific encryption on the second user's private data, and then perform a second encryption on the second user's private data. a specific operation to obtain a corresponding second ciphertext and performing a third specific operation on the encrypted private data of the first user to obtain a corresponding third ciphertext, and then The second ciphertext transmitted through the base station to the first mobile device and the third ciphertext is transmitted to the base station through the second mobile device, wherein the specific encryption, the first specific operation,
The second specific operation and the third specific operation are consistent with the characteristics of the privacy homomorphic encryption.
如請求項9所述之方法,其另包含:在收到該第三密文後,該第二用戶依據該隱私同態加密之特性解出一相對應之運算結果,再利用一第二私人密鑰對該第三密文進行隱私同態解密以得到該第一用戶之私人資料。
The method of claim 9, further comprising: after receiving the third ciphertext, the second user solves a corresponding operation result according to the characteristic of the privacy homomorphic encryption, and then uses a second private The key performs a privacy homomorphic decryption on the third ciphertext to obtain the private data of the first user.
如請求項9所述之方法,其中發出該加密認證回覆係允許該第一用戶讀取該第二用戶之私人資料。
The method of claim 9, wherein the issuing the encrypted authentication reply allows the first user to read the private data of the second user.
如請求項9所述之方法,其中該活動邀約另包含要求該活動之參與者必須提供特定私人資料或允許將該第一用戶之特定私人資料提供給該活動之參與者。The method of claim 9, wherein the activity offer further comprises a participant requesting the activity to provide a particular private profile or to provide the first user's particular private profile to the participant of the activity.