Back to Browse

Partially Homomorphic Encryption with RSA in Python From Scratch

1.3K views
Mar 6, 2023
10:12

In this video, we'll explore the concepts of RSA encryption, partially homomorphic encryption, and how they can be used to protect sensitive data. We'll take a closer look at how RSA encryption works, and how it's used in modern cryptographic systems to secure communications and transactions. We'll also dive into partially homomorphic encryption, which allows computations to be performed on encrypted data with some restrictions. Specifically, we'll focus on multiplicative homomorphic encryption, which enables complex computations on encrypted data to be performed efficiently as long as they involve multiplication only. Finally, we'll demonstrate a Python implementation of multiplicative homomorphic encryption. By the end of this video, you'll have a better understanding of these powerful encryption techniques and their practical applications, particularly for scenarios where data privacy is crucial. Homomorphic encryption has the potential to enable secure computation on sensitive data without requiring decryption, which makes it a powerful tool for protecting privacy in various applications. Homomorphic encryption can also be used in cloud computing, where it enables secure computation on encrypted data stored in the cloud without exposing the data to the cloud provider. Additionally, e-voting is another potential use case for homomorphic encryption. With homomorphic encryption, votes can be encrypted and counted without the need to decrypt them, which ensures the privacy and integrity of the voting process. Homomorphic encryption also enables vote auditing by allowing voters to verify that their votes were correctly counted without revealing their actual vote. This has the potential to improve the security and transparency of e-voting systems, making them more trustworthy and reliable. Tutorial: https://sefiks.com/2023/03/06/a-step-by-step-partially-homomorphic-encryption-example-with-rsa-in-python/ Want to do partially homomorphic RSA encryption with a few lines of code in Python? Check out LightPHE: https://youtu.be/fh1Dgir5FXM If you like this video, you may like these videos: - Partially Homomorphic Paillier in Python: https://youtu.be/Yerhc9B2zjQ - Partially Homomorphic ElGamal in Python: https://youtu.be/d-gK211N28U - Partially Homomorphic Elliptic Curve ElGamal: https://youtu.be/6yN00ttpjSE - Fully Homomorphic Encryption in Python: https://youtu.be/2qkCLaeD7pA Contents of this video: 00:00 - Introduction 01:08 - Key Generation 04:59 - Encryption 05:34 - Decryption 06:45 - How RSA is Homomorphic 08:18 - Partially Homomorphic Implementation Please Subscribe! That's what keeps me going ► https://bit.ly/40NfIS7 Want more? Connect with me here: Blog: https://sefiks.com/ Twitter: https://twitter.com/serengil Threads: https://www.threads.net/@serengil Instagram: https://www.instagram.com/serengil Facebook: https://www.facebook.com/sefikscom Linkedin: https://www.linkedin.com/in/serengil/ If you do like my videos, you can support my effort with your financial contributions on - Patreon: https://www.patreon.com/serengil?source=youtube - GitHub Sponsors: https://github.com/sponsors/serengil - Buy Me a Coffee: https://buymeacoffee.com/serengil

Download

0 formats

No download links available.

Partially Homomorphic Encryption with RSA in Python From Scratch | NatokHD