Loading…

An Efficient Fully Homomorphic Encryption Sorting Algorithm Using Addition Over TFHE

Fully homomorphic encryption (FHE) can effectively protect data privacy. It allows users to entrust data operations to a third party on a cloud server without revealing their own privacy. Sorting algorithms are the fundamental technique of managing and processing data. Currently, the sorting algorit...

Full description

Saved in:
Bibliographic Details
Main Authors: Wang, Chunping, Chen, Jiahui, Zhang, Xiaoli, Cheng, Hongbing
Format: Conference Proceeding
Language:English
Subjects:
Online Access:Request full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites
container_end_page 233
container_issue
container_start_page 226
container_title
container_volume
creator Wang, Chunping
Chen, Jiahui
Zhang, Xiaoli
Cheng, Hongbing
description Fully homomorphic encryption (FHE) can effectively protect data privacy. It allows users to entrust data operations to a third party on a cloud server without revealing their own privacy. Sorting algorithms are the fundamental technique of managing and processing data. Currently, the sorting algorithms based on the traditional FHE schemes of BGV (Brakerski-Gentry-Vaikuntanathan), BFV (BrakerskiFan-Vercauteren) and CKKS (Cheon-Kim-Kim-Song) are difficult to implement and are inefficient because of their slow bootstrapping techniques. TFHE (Fast Fully Homomorphic Encryption over the Torus), a fast FHE scheme over the torus based on GSW (Gentry-Sahai-Waters), significantly decrease the time cost of bootstrapping. In this paper, we first design the bitwise FHE comparison and swap operations using the bootstrapped binary gates of the TFHE library. With the two operations, a bubble sort algorithm is proposed. By reducing the depth of sorting circuits in the proposed bubble sort, we further present AdditionSort, an efficient sorting algorithm using homomorphic addition, which can support the operations of arbitrary array length and unlimited element size. The experiments show that AdditionSort is nearly 50% faster than the bubble sort when the size of an element exceeds 32 bits.
doi_str_mv 10.1109/ICPADS56603.2022.00037
format conference_proceeding
fullrecord <record><control><sourceid>ieee_CHZPO</sourceid><recordid>TN_cdi_ieee_primary_10077981</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>10077981</ieee_id><sourcerecordid>10077981</sourcerecordid><originalsourceid>FETCH-LOGICAL-i204t-6c725153487b2f13d7283f1f532775e684b648d1bab1c5d45ecf3f84811424253</originalsourceid><addsrcrecordid>eNotjN1KwzAYhqMgOOfuQCQ30Pl9Sb4kPSyz-4HBhG3HY22TLdK1I61C716Z8h48PPDwMvaKMEWE9G01-8jet6Q1yKkAIaYAIM0dm6TGotakjETS92wkdAoJpZoe2VPXfQIIkAQjtssannsfyuCans-_6nrgy_byu3g9h5LnTRmHax_ahm_b2IfmxLP61MbQny983928qsIt2Hy7yHfzZf7MHvyx7tzkn2O2n-e72TJZbxarWbZOggDVJ7o0gpCksqYQHmVlhJUePUlhDDltVaGVrbA4FlhSpciVXnqrLKISSpAcs5e_3-CcO1xjuBzjcEAAY1KL8gffD1B2</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>An Efficient Fully Homomorphic Encryption Sorting Algorithm Using Addition Over TFHE</title><source>IEEE Xplore All Conference Series</source><creator>Wang, Chunping ; Chen, Jiahui ; Zhang, Xiaoli ; Cheng, Hongbing</creator><creatorcontrib>Wang, Chunping ; Chen, Jiahui ; Zhang, Xiaoli ; Cheng, Hongbing</creatorcontrib><description>Fully homomorphic encryption (FHE) can effectively protect data privacy. It allows users to entrust data operations to a third party on a cloud server without revealing their own privacy. Sorting algorithms are the fundamental technique of managing and processing data. Currently, the sorting algorithms based on the traditional FHE schemes of BGV (Brakerski-Gentry-Vaikuntanathan), BFV (BrakerskiFan-Vercauteren) and CKKS (Cheon-Kim-Kim-Song) are difficult to implement and are inefficient because of their slow bootstrapping techniques. TFHE (Fast Fully Homomorphic Encryption over the Torus), a fast FHE scheme over the torus based on GSW (Gentry-Sahai-Waters), significantly decrease the time cost of bootstrapping. In this paper, we first design the bitwise FHE comparison and swap operations using the bootstrapped binary gates of the TFHE library. With the two operations, a bubble sort algorithm is proposed. By reducing the depth of sorting circuits in the proposed bubble sort, we further present AdditionSort, an efficient sorting algorithm using homomorphic addition, which can support the operations of arbitrary array length and unlimited element size. The experiments show that AdditionSort is nearly 50% faster than the bubble sort when the size of an element exceeds 32 bits.</description><identifier>EISSN: 2690-5965</identifier><identifier>EISBN: 9781665473156</identifier><identifier>EISBN: 1665473150</identifier><identifier>DOI: 10.1109/ICPADS56603.2022.00037</identifier><identifier>CODEN: IEEPAD</identifier><language>eng</language><publisher>IEEE</publisher><subject>Bitwise Comparison ; Bitwise Swap ; Costs ; Data privacy ; Homomorphic Addition ; Homomorphic encryption ; Libraries ; Logic gates ; Privacy ; Servers ; Sorting ; TFHE</subject><ispartof>2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS), 2023, p.226-233</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/10077981$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,780,784,789,790,27925,54555,54932</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/10077981$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Wang, Chunping</creatorcontrib><creatorcontrib>Chen, Jiahui</creatorcontrib><creatorcontrib>Zhang, Xiaoli</creatorcontrib><creatorcontrib>Cheng, Hongbing</creatorcontrib><title>An Efficient Fully Homomorphic Encryption Sorting Algorithm Using Addition Over TFHE</title><title>2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS)</title><addtitle>ICPADS</addtitle><description>Fully homomorphic encryption (FHE) can effectively protect data privacy. It allows users to entrust data operations to a third party on a cloud server without revealing their own privacy. Sorting algorithms are the fundamental technique of managing and processing data. Currently, the sorting algorithms based on the traditional FHE schemes of BGV (Brakerski-Gentry-Vaikuntanathan), BFV (BrakerskiFan-Vercauteren) and CKKS (Cheon-Kim-Kim-Song) are difficult to implement and are inefficient because of their slow bootstrapping techniques. TFHE (Fast Fully Homomorphic Encryption over the Torus), a fast FHE scheme over the torus based on GSW (Gentry-Sahai-Waters), significantly decrease the time cost of bootstrapping. In this paper, we first design the bitwise FHE comparison and swap operations using the bootstrapped binary gates of the TFHE library. With the two operations, a bubble sort algorithm is proposed. By reducing the depth of sorting circuits in the proposed bubble sort, we further present AdditionSort, an efficient sorting algorithm using homomorphic addition, which can support the operations of arbitrary array length and unlimited element size. The experiments show that AdditionSort is nearly 50% faster than the bubble sort when the size of an element exceeds 32 bits.</description><subject>Bitwise Comparison</subject><subject>Bitwise Swap</subject><subject>Costs</subject><subject>Data privacy</subject><subject>Homomorphic Addition</subject><subject>Homomorphic encryption</subject><subject>Libraries</subject><subject>Logic gates</subject><subject>Privacy</subject><subject>Servers</subject><subject>Sorting</subject><subject>TFHE</subject><issn>2690-5965</issn><isbn>9781665473156</isbn><isbn>1665473150</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2023</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><recordid>eNotjN1KwzAYhqMgOOfuQCQ30Pl9Sb4kPSyz-4HBhG3HY22TLdK1I61C716Z8h48PPDwMvaKMEWE9G01-8jet6Q1yKkAIaYAIM0dm6TGotakjETS92wkdAoJpZoe2VPXfQIIkAQjtssannsfyuCans-_6nrgy_byu3g9h5LnTRmHax_ahm_b2IfmxLP61MbQny983928qsIt2Hy7yHfzZf7MHvyx7tzkn2O2n-e72TJZbxarWbZOggDVJ7o0gpCksqYQHmVlhJUePUlhDDltVaGVrbA4FlhSpciVXnqrLKISSpAcs5e_3-CcO1xjuBzjcEAAY1KL8gffD1B2</recordid><startdate>202301</startdate><enddate>202301</enddate><creator>Wang, Chunping</creator><creator>Chen, Jiahui</creator><creator>Zhang, Xiaoli</creator><creator>Cheng, Hongbing</creator><general>IEEE</general><scope>6IE</scope><scope>6IL</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIL</scope></search><sort><creationdate>202301</creationdate><title>An Efficient Fully Homomorphic Encryption Sorting Algorithm Using Addition Over TFHE</title><author>Wang, Chunping ; Chen, Jiahui ; Zhang, Xiaoli ; Cheng, Hongbing</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-i204t-6c725153487b2f13d7283f1f532775e684b648d1bab1c5d45ecf3f84811424253</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2023</creationdate><topic>Bitwise Comparison</topic><topic>Bitwise Swap</topic><topic>Costs</topic><topic>Data privacy</topic><topic>Homomorphic Addition</topic><topic>Homomorphic encryption</topic><topic>Libraries</topic><topic>Logic gates</topic><topic>Privacy</topic><topic>Servers</topic><topic>Sorting</topic><topic>TFHE</topic><toplevel>online_resources</toplevel><creatorcontrib>Wang, Chunping</creatorcontrib><creatorcontrib>Chen, Jiahui</creatorcontrib><creatorcontrib>Zhang, Xiaoli</creatorcontrib><creatorcontrib>Cheng, Hongbing</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan All Online (POP All Online) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE Xplore (Online service)</collection><collection>IEEE Proceedings Order Plans (POP All) 1998-Present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Wang, Chunping</au><au>Chen, Jiahui</au><au>Zhang, Xiaoli</au><au>Cheng, Hongbing</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>An Efficient Fully Homomorphic Encryption Sorting Algorithm Using Addition Over TFHE</atitle><btitle>2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS)</btitle><stitle>ICPADS</stitle><date>2023-01</date><risdate>2023</risdate><spage>226</spage><epage>233</epage><pages>226-233</pages><eissn>2690-5965</eissn><eisbn>9781665473156</eisbn><eisbn>1665473150</eisbn><coden>IEEPAD</coden><abstract>Fully homomorphic encryption (FHE) can effectively protect data privacy. It allows users to entrust data operations to a third party on a cloud server without revealing their own privacy. Sorting algorithms are the fundamental technique of managing and processing data. Currently, the sorting algorithms based on the traditional FHE schemes of BGV (Brakerski-Gentry-Vaikuntanathan), BFV (BrakerskiFan-Vercauteren) and CKKS (Cheon-Kim-Kim-Song) are difficult to implement and are inefficient because of their slow bootstrapping techniques. TFHE (Fast Fully Homomorphic Encryption over the Torus), a fast FHE scheme over the torus based on GSW (Gentry-Sahai-Waters), significantly decrease the time cost of bootstrapping. In this paper, we first design the bitwise FHE comparison and swap operations using the bootstrapped binary gates of the TFHE library. With the two operations, a bubble sort algorithm is proposed. By reducing the depth of sorting circuits in the proposed bubble sort, we further present AdditionSort, an efficient sorting algorithm using homomorphic addition, which can support the operations of arbitrary array length and unlimited element size. The experiments show that AdditionSort is nearly 50% faster than the bubble sort when the size of an element exceeds 32 bits.</abstract><pub>IEEE</pub><doi>10.1109/ICPADS56603.2022.00037</doi><tpages>8</tpages></addata></record>
fulltext fulltext_linktorsrc
identifier EISSN: 2690-5965
ispartof 2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS), 2023, p.226-233
issn 2690-5965
language eng
recordid cdi_ieee_primary_10077981
source IEEE Xplore All Conference Series
subjects Bitwise Comparison
Bitwise Swap
Costs
Data privacy
Homomorphic Addition
Homomorphic encryption
Libraries
Logic gates
Privacy
Servers
Sorting
TFHE
title An Efficient Fully Homomorphic Encryption Sorting Algorithm Using Addition Over TFHE
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-30T22%3A20%3A11IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-ieee_CHZPO&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=An%20Efficient%20Fully%20Homomorphic%20Encryption%20Sorting%20Algorithm%20Using%20Addition%20Over%20TFHE&rft.btitle=2022%20IEEE%2028th%20International%20Conference%20on%20Parallel%20and%20Distributed%20Systems%20(ICPADS)&rft.au=Wang,%20Chunping&rft.date=2023-01&rft.spage=226&rft.epage=233&rft.pages=226-233&rft.eissn=2690-5965&rft.coden=IEEPAD&rft_id=info:doi/10.1109/ICPADS56603.2022.00037&rft.eisbn=9781665473156&rft.eisbn_list=1665473150&rft_dat=%3Cieee_CHZPO%3E10077981%3C/ieee_CHZPO%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-i204t-6c725153487b2f13d7283f1f532775e684b648d1bab1c5d45ecf3f84811424253%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=10077981&rfr_iscdi=true