SageMath: One Last Tango with Cybersecurity
Open Source For You
|January 2026
In the previous article in this series (published in the November 2025 issue of OSFY), we had a detailed discussion on secure key exchange and how the Diffie-Hellman key exchange scheme can be implemented using SageMath. As promised, in this article we will discuss digital signatures, hashing, and message authentication.
-
Let's begin by trying to have a theoretical understanding of the concepts of digital signatures, hashing and message authentication.
In the previous article, we looked at a practical situation where a digital signature becomes essential—when your friend emails you agreeing to lend ₹1 million and later denies ever sending the message. A digital signature is a mathematical technique used to verify the authenticity and integrity of digital messages or documents. When a message carries a valid digital signature, the recipient can be confident that it was indeed sent by the claimed sender and has not been tampered with. An added advantage is that a properly generated digital signature is far more trustworthy than a handwritten signature, since it is backed by strong cryptographic guarantees. Digital signatures can be created using various cryptographic algorithms such as RSA, DSA, and ECDSA, each offering different security properties and performance characteristics.
Hashing is a fundamental technique in cryptography that transforms an input message of any length into a fixed-size string of characters, called a hash value (informally called hash) or message digest (informally called digest). A good hash function is designed to be fast to compute while being practically impossible to reverse, meaning the original message cannot be reconstructed from its hash value. It also ensures that even a small change in the input—such as altering a single character—produces a completely different hash, a property known as the avalanche effect. Examples for hash functions include SHA-256, SHA-384, SHA-512, BLAKE2, BLAKE3, MD5, etc. Hash functions are widely used to ensure data integrity, verify passwords, generate digital signatures, and support many other security protocols.
यह कहानी Open Source For You के January 2026 संस्करण से ली गई है।
हजारों चुनिंदा प्रीमियम कहानियों और 10,000 से अधिक पत्रिकाओं और समाचार पत्रों तक पहुंचने के लिए मैगज़्टर गोल्ड की सदस्यता लें।
क्या आप पहले से ही ग्राहक हैं? साइन इन करें
Open Source For You से और कहानियाँ
Open Source For You
The Role of Open Source in Building Modern Data Infrastructure
It's no secret that open source is emerging as the backbone of modern data infrastructure. Here’s a list of the core open source technologies used to deploy this infrastructure, along with some real-world examples and a brief on why open source matters.
3 mins
December 2025
Open Source For You
The Whispering Machines: How Open Source is Bringing Intelligence to the Tiniest Devices
Built on open source frameworks, TinyML is enabling complex machine learning models to run on the microcontrollers embedded in connected devices, bringing artificial intelligence to the very edge of the network.
3 mins
December 2025
Open Source For You
Setting Up Snort to Secure Your Network
Snort is a popular, open source intrusion detection system that monitors traffic in real time to detect malware. Here’s a detailed explanation of how to set it up on Ubuntu and test it by generating traffic from another system.
7 mins
December 2025
Open Source For You
When AI Meets DevOps to Build Self-Healing Systems
Traditional DevOps, with its rule-based automation, is struggling to work effectively in today’s complex tech world. But when combined with AlOps, it can lead to IT systems that predict failures and solve issues without human intervention.
7 mins
December 2025
Open Source For You
How to Automate Java Code Modernisation
This short guide illustrates that automating Java code modernisation with Python and OpenAI API is not just possible-it's remarkably effective.
5 mins
December 2025
Open Source For You
The Quest to Build a Quantum Computer
The road to large-scale quantum computing is long and hard, with incremental advances paving the way. But the destination is in sight.
12 mins
December 2025
Open Source For You
Job Opportunities: What's Hot in the Cloud Space?
If there's one field that refuses to slow down, it's cloud computing. Even as automation and AI reshape roles, cloud adoption continues to surge. From startups deploying microservices overnight to enterprises migrating decades of legacy systems, cloud remains the engine of digital transformation. For professionals, this means one thing: skills that live in the cloud won't come down anytime soon.
2 mins
December 2025
Open Source For You
Securing Client Identity with Post-Quantum Cryptography
Here's a quick tutorial on how to build a secure, real world client-server model that establishes client identity by using CRYSTALS-Dilithium, a post-quantum cryptography algorithm.
3 mins
December 2025
Open Source For You
Unlocking the Power of Multi-Agent Solutions with the Microsoft Agentic Framework
The Microsoft Agentic Framework is rapidly emerging as a cornerstone for developers, architects, and technology leaders seeking to build dynamic, intelligent systems powered by multiple collaborating agents. In an era where automation, distributed intelligence, and adaptive software are increasingly vital, this framework offers robust tools and features to accelerate the design and deployment of agent-based solutions.
6 mins
December 2025
Open Source For You
Apache Iceberg and Trino: Powering Data Lakehouse Architecture
Apache Iceberg is a cornerstone of any open data lakehouse, providing the transactional foundation upon which highly scalable and flexible analytics can flourish. Along with Trino, it can be used to build a robust, scalable, and high-performance data lakehouse.
4 mins
December 2025
Listen
Translate
Change font size

