Class Sage Cells

Brute Force Factorization

Type your own Sage computation below and click “Evaluate”.

Fermat Factorization

Type your own Sage computation below and click “Evaluate”.

Pollard Rho Factorization

Type your own Sage computation below and click “Evaluate”.

Check Sum Sample:

This is set up to find and append the check digit using the passport scheme in the text.

Hash Functions and Collisions

This implements the hash functions and collision avoidance described in the text.

Primality Testing

Here are basic implementations of the Primality tests we discussed in class.

Caeser Shift Cipher Cell

This cell demonstrates some of what you might need to know to implement ciphers.

Your own computations

Type your own Sage computation below and click “Evaluate”.