試す 金 - 無料
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.
 
 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
このストーリーは、Open Source For You の January 2025 版からのものです。
Magzter GOLD を購読すると、厳選された何千ものプレミアム記事や、10,000 以上の雑誌や新聞にアクセスできます。
すでに購読者ですか? サインイン
Open Source For You からのその他のストーリー
 
 Open Source For You
The Fragile Edge: Chaos Engineering for Reliable IoT
Chaos engineering is a great way of detecting possible failures in loT devices. This technology has evolved well for testing cloud failure, but open source communities are still working towards building an efficient chaos engineering toolkit for testing loT devices.
9 mins
November 2025
 
 Open Source For You
What Open Source RAG can do for Modern Enterprises
Follow this guide to leverage your enterprise data with a self-hosted AI assistant, powered by the semantic search capabilities of open source vector databases.
10 mins
November 2025
 
 Open Source For You
ASF elevates Apache DevLake and Grails to top-level status
The Apache Software Foundation (ASF) has announced that Apache DevLake and Apache Grails have graduated to Top-Level Projects (TLPs), signalling maturity, community growth, and operational independence.
1 min
November 2025
Open Source For You
Anthropic releases Claude Agent SDK alongside Claude Sonnet 4.5
Anthropic has unveiled Claude Sonnet 4.5, its most powerful code-focused AI model to date, alongside the launch of the Claude Agent SDK, an open source toolkit that allows developers to build autonomous agents powered by Claude's architecture.
1 min
November 2025
 
 Open Source For You
How AI is Impacting the Internet of Things
AI and IoT are complementing each other to build powerful and secure connected devices.
3 mins
November 2025
 
 Open Source For You
Building Future-ready AI Hardware with Neuromorphic Computing and Sensing
If machines could learn and adapt like us, what doors would that open? Neuromorphic systems are not just mimicking the brain, they are setting the stage for AI that learns, senses, and evolves, just like we do.
3 mins
November 2025
 
 Open Source For You
Open Source MLOps Tools: Ideal for Managing ML Data Workflows
MLOps adds automation, organisation and reliability to the machine learning lifecycle. Open source MLOps tools do a great job of helping build a machine learning model, with each tool tackling a distinct challenge.
6 mins
November 2025
 
 Open Source For You
Google open sources MCP server for analysing ads data
Google has officially open sourced the Google Ads API Model Context Protocol (MCP) server, now available on GitHub.
1 min
November 2025
 
 Open Source For You
Popular Simulation Platforms for the Internet of Vehicles
In these days of traffic congestion and autonomous driving, software that connects pedestrians and vehicles with governing bodies is the need of the hour. Open source simulation platforms for the Internet of Vehicles are enabling just that.
3 mins
November 2025
Open Source For You
Building an IoT Product? Use OpenRemote
OpenRemote, the open source IoT platform, helps businesses and developers innovate while lowering expenses and enabling complete control over their connected products.
5 mins
November 2025
Listen
Translate
Change font size

