Apple just lately open sourced its homomorphic encryption library for Swift, enabling builders who use the Apple programming language to implement the privacy-preserving expertise.
Homomorphic encryption (HE) is a comparatively new expertise that permits encrypted knowledge to be processed with out first decrypting it into clear textual content. For instance, a person can ship delicate knowledge in encrypted kind as a part of a question to a server, and the server can reply to that question and the encrypted knowledge with out decrypting it.
Whereas it might sound not possible at first, HE has been confirmed mathematically to be correct and efficient. Apple developed its personal HE library to be used with Swift, the high-level language used to develop purposes throughout all Apple merchandise.
By releasing the swift-homomorphic-encryption library underneath the permissive Apache 2.0 license, now anyone can use it to construct Apple apps that protect privateness and enhance safety. The information was shared by Apple engineers Fabian Boemer, Karl Tarbe, and Rehan Rishi in a blog post just lately.
“We consider builders will discover homomorphic encryption helpful for all kinds of standalone privacy-preserving purposes each inside and outdoors the Apple ecosystem, together with personal set intersection, safe aggregation, and machine studying,” they write.
In response to the engineers, Apple’s Swift HE implementation makes use of the Brakerski-Fan-Vercauteren (BFV) HE scheme, which is predicated on the ring studying with errors (RLWE) hardness downside, which is quantum resistant, they are saying.
In addition they shared one HE use case. “One instance of how we’re utilizing this implementation in iOS 18, is the brand new Reside Caller ID Lookup characteristic, which offers caller ID and spam blocking companies,” they write. “Reside Caller ID Lookup makes use of homomorphic encryption to ship an encrypted question to a server that may present details about a cellphone quantity with out the server realizing the particular cellphone quantity within the request.”
Builders can obtain the swift-homomorphic-encryption library on its GitHub page.
Associated Gadgets:
Will New Government Guidelines Spur Adoption of Privacy-Preserving Tech?
The Business Case for Privacy Enhancing Technologies
In Homomorphic Encryption We (Must) Trust