Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2019-07-16 21:25:23
Size: 586
Editor: amy
Comment:
Revision 5 as of 2019-08-07 19:37:02
Size: 1778
Editor: amy
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Under Construction =

This page will be created/preened at a Sage Days that will take place August 7th - 10th.

If you have cryptography related interactions that you are interested in adding to this page, please do. You can also contact Amy Feaver at [email protected] (insert my name in 'firstname' and 'lastname') if you have interactions that you are interested in having us add to the page during Sage Days. We will consider them and add them in if we can!
= Sage Interactions - Cryptography - Under Construction =
Line 9: Line 5:
= Sage Interactions - Cryptography = This page was be created at Sage Days, 7-10 August 2019 by Sarah Arpin, Catalina Camacho-Navarro, Holly Paige Chaos, Amy Feaver, Eva Goedhart, Rebecca Lauren Miller, Alexis Newton, and Nandita Sahajpal.

If you have cryptography related interactions that you are interested in adding to this page, please do so. You can also contact Amy Feaver at [email protected] (insert my name in 'firstname' and 'lastname') if you have interactions that you are interested in having us add to the page during Sage Days. We will consider them and add them in if we can!
Line 13: Line 12:



== Shift Cipher ==
by Sarah Arpin, Alexis Newton

A classical cryptosystem that takes your text and shifts it through the alphabet by a given number of letters. -EG

{{{#!sagecell
print "Put your message in quotes, and your desired shift: "
@interact
def shift_cipher(message = input_box(default="'secrets hi'", width = 50), shift=slider(0,25,1,3)):
    
    A = AlphabeticStrings()
    S = ShiftCryptosystem(A)
    message = S.encoding(message)
    C = S.enciphering(shift, message)
    print "Enciphered message:"
    print C
}}}

== Affine Cipher ==
by Sarah Arpin, Alexis Newton


{{{#!sagecell

}}}

== Substitution Cipher ==
by Catalina Camacho-Navarro

A simple cipher to encrypt messages in which each letter is assigned to another letter. Brute force or frequency analysis can be used to decrypt. -EG

{{{#!sagecell

}}}

== Vigenère Cipher ==
by Holly Paige Chaos and Rebecca Lauren Miller

Using a secret key word, encrypt each letter by shifting it the corresponding letter in the key word. -EG

{{{#!sagecell

}}}

Sage Interactions - Cryptography - Under Construction

This page was be created at Sage Days, 7-10 August 2019 by Sarah Arpin, Catalina Camacho-Navarro, Holly Paige Chaos, Amy Feaver, Eva Goedhart, Rebecca Lauren Miller, Alexis Newton, and Nandita Sahajpal.

If you have cryptography related interactions that you are interested in adding to this page, please do so. You can also contact Amy Feaver at [email protected] (insert my name in 'firstname' and 'lastname') if you have interactions that you are interested in having us add to the page during Sage Days. We will consider them and add them in if we can!

goto interact main page

Shift Cipher

by Sarah Arpin, Alexis Newton

A classical cryptosystem that takes your text and shifts it through the alphabet by a given number of letters. -EG

Affine Cipher

by Sarah Arpin, Alexis Newton

Substitution Cipher

by Catalina Camacho-Navarro

A simple cipher to encrypt messages in which each letter is assigned to another letter. Brute force or frequency analysis can be used to decrypt. -EG

Vigenère Cipher

by Holly Paige Chaos and Rebecca Lauren Miller

Using a secret key word, encrypt each letter by shifting it the corresponding letter in the key word. -EG

interact/cryptography (last edited 2019-11-14 19:53:51 by chapoton)