Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-5g6vh Total loading time: 0 Render date: 2024-04-28T05:49:33.571Z Has data issue: false hasContentIssue false

12 - Coding and Cryptology with Computer Algebra

Published online by Cambridge University Press:  26 October 2017

Ruud Pellikaan
Affiliation:
Technische Universiteit Eindhoven, The Netherlands
Xin-Wen Wu
Affiliation:
Griffith University, Queensland
Relinde Jurrius
Affiliation:
Université de Neuchâtel, Switzerland
Get access

Summary

In this chapter we give a brief overview of four computer algebra systems: Singular, Magma, GAP and Sage. We show how these computer algebra systems are able to deal with the objects considered in this book: error-correcting codes and their parameters, cryptosystems, as well as Gröbner bases and their applications. We work out specific examples that help to understand specifics that sometimes go beyond basic constructions with small parameters. This chapter also aims at invoking interest with those readers who have not worked with computer algebra systems before, but would like to do so having specific interesting examples to enter the field.

We start with a short overview for each of the four systems and then dive into hands-on examples.

SINGULAR

As is stated at www.singular.uni–kl.de: “Singular is a computer algebra system for polynomial computations, with special emphasis on commutative and non-commutative algebra, algebraic geometry, and singularity theory.” The system started as a tool for computing Gröbner bases with a focus on applications in singularity theory, but it grew into a tool for applications in many other fields. Relevant for us will be the method of Gröbner bases for decoding error-correcting codes, see Section 12.7. Singular also provides some basic functionality for cryptology, mainly for teaching purposes. We use a powerful kernel functionality of Singular for relevant Gröbner bases computations.

SINGULAR can be downloaded free of charge under the GNU public license from www.singular.uni–kl.de/index.php/singular-download.html for different platforms (Linux/Unix, Windows, OS X). The web site provides an online manual at www.singular.uni–kl.de/Manual/latest/index.htm. Also an online version of the system for trying out without a download is available at https://www.singular.uni–kl.de:8003/

In the context of this book, we use functionality provided for decoding linear codes via polynomial system solving (decodegb.lib). Interesting also, and therefore mentioned here, are the libraries:

  • • brnoeth.lib for working with algebraic-geometry codes;

  • • crypto.lib for teaching cryptography;

  • • teachstd.lib for teaching Gröbner bases.

  • Type
    Chapter
    Information
    Publisher: Cambridge University Press
    Print publication year: 2017

    Access options

    Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

    Save book to Kindle

    To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

    Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

    Find out more about the Kindle Personal Document Service.

    Available formats
    ×

    Save book to Dropbox

    To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

    Available formats
    ×

    Save book to Google Drive

    To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

    Available formats
    ×