SageMath: A Second Glance at Cybersecurity
Open Source For You|January 2025
The eighth article in the series on SageMath explores a classical encryption scheme called the Rail Fence cipher and introduces the concept of symmetric-key encryption.
Dr Deepu Benson
SageMath: A Second Glance at Cybersecurity

In the previous article in this SageMath series (published in the November 2024 issue of OSFY), we began exploring cybersecurity and introduced classical encryption techniques, setting a foundation for further discussion. In this article, we delve into a classical encryption scheme known as the Rail Fence cipher. Unlike the Caesar and Vigenère ciphers we covered earlier—both of which are substitution ciphers that replace each plaintext letter with another to create the ciphertext—the Rail Fence cipher is a transposition cipher. Here, letters in the plaintext are rearranged rather than substituted, producing a scrambled version of the plaintext to form the ciphertext. Notice that any terms introduced without explanation here were discussed in the previous article.

Before proceeding further, we need to focus on two additional aspects as we progress in this series, beyond discussing SageMath code. First, we need to set up effective tools for working with SageMath. Second, we should explore the historical context of our topic: cybersecurity and cryptography.

Let us start by addressing a tool-related issue. So far, we have been using an online platform called CoCalc, a web-based tool well-suited for running SageMath programs. However, CoCalc operates on a freemium model, requiring payment for certain features. While I am not an ardent advocate of exclusively using free and open source software, I initially recommended CoCalc for its accessibility. Since SageMath has a steep learning curve, I thought it would be beneficial for those new to it to quickly access an online tool rather than navigate the challenges of installing it on their preferred operating system. However, it is now time to explore alternative tools and options beyond CoCalc.

Installing and using SageMath on your computer

Diese Geschichte stammt aus der January 2025-Ausgabe von Open Source For You.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

Diese Geschichte stammt aus der January 2025-Ausgabe von Open Source For You.

Starten Sie Ihre 7-tägige kostenlose Testversion von Magzter GOLD, um auf Tausende kuratierte Premium-Storys sowie über 8.000 Zeitschriften und Zeitungen zuzugreifen.

WEITERE ARTIKEL AUS OPEN SOURCE FOR YOUAlle anzeigen
Linux Foundation launches LF India to foster open source innovation and support in India
Open Source For You

Linux Foundation launches LF India to foster open source innovation and support in India

The Linux Foundation, a nonprofit organisation dedicated to driving innovation through open source, has announced the launch of LF India.

time-read
1 min  |
January 2025
Red Hat launches Ansible Automation Platform Service on AWS
Open Source For You

Red Hat launches Ansible Automation Platform Service on AWS

Red Hat, Inc., has announced the general availability of the Red Hat Ansible Automation Platform Service on Amazon Web Services (AWS) as a managed offering available through AWS Marketplace.

time-read
1 min  |
January 2025
Fedora Asahi Remix 41 is now generally available
Open Source For You

Fedora Asahi Remix 41 is now generally available

The Fedora and Asahi Linux projects have announced the general availability of Fedora Asahi Remix 41, the latest version of this distribution tailored for Apple Silicon Macs.

time-read
1 min  |
January 2025
SageMath: A Second Glance at Cybersecurity
Open Source For You

SageMath: A Second Glance at Cybersecurity

The eighth article in the series on SageMath explores a classical encryption scheme called the Rail Fence cipher and introduces the concept of symmetric-key encryption.

time-read
10+ Minuten  |
January 2025
Building Cross-Platform Mobile Apps with lonic
Open Source For You

Building Cross-Platform Mobile Apps with lonic

Mobile apps are an intrinsic part of daily life today we use them to order food, groceries, taxis, and more. As these apps need to work across platforms, developers are focusing on cross-platform app development so that they code only once to create apps that function on multiple platforms. lonic is a framework that can help developers build apps faster than with native app development, while saving them time and money. Let’s learn how to install and deploy it.

time-read
3 Minuten  |
January 2025
Open Source AI Frameworks: Integrating AI with lot
Open Source For You

Open Source AI Frameworks: Integrating AI with lot

Open source Al helps loT devices learn, adapt, and automate actions based on real-time data, improving convenience and security. Here’s an overview of six key open source Al frameworks that help integrate Al with loT, and the challenges they face.

time-read
4 Minuten  |
January 2025
Open Source loT: A Primer for Everyone
Open Source For You

Open Source loT: A Primer for Everyone

Open source IoT platforms promise to play a central role in shaping the future, making it possible for more people and businesses to benefit from smarter, more efficient solutions. We look at a brief history of this tech and explore emerging trends.

time-read
10+ Minuten  |
January 2025
Using Open Source and Blockchain to Build Decentralised loT Networks
Open Source For You

Using Open Source and Blockchain to Build Decentralised loT Networks

Explore how blockchain is being integrated with loT to create decentralised networks. Find out how leading open source projects like IOTA and Streamr use blockchain to ensure data integrity, security, and privacy in loT ecosystems.

time-read
8 Minuten  |
January 2025
Internet of Things: Running Language Models on Edge Devices
Open Source For You

Internet of Things: Running Language Models on Edge Devices

Let’s delve into the technical aspects, challenges, and benefits of deploying language models on edge/loT devices.

time-read
8 Minuten  |
January 2025
How Open Source is Making Quantum Computing Accessible to Everyone
Open Source For You

How Open Source is Making Quantum Computing Accessible to Everyone

Open source initiatives are breaking down the barriers to quantum computing, making it accessible to everyone. Explore what quantum computing is, the challenges of traditional adoption, how open source platforms are democratising the technology, and how you can get started in this exciting domain.

time-read
5 Minuten  |
January 2025