Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Wow sounds like a heck of a lot of ground to cover in 2 weeks! Intro to programming + cryptography. Geez...

I would be thinking about starting at some place far easier than MD5. A book on the history of cryptography could be helpful. It been a decade since I read a book like that and my memory is fuzzy.

Anyway, I would be thinking of starting with simple substitution cyphers, like ROT13 and variants. Some basic probability math would be appropriate with this subject.

I could envision a number of fairly simple programs to help break a code like that which could be done within the time frame that you have.

I forget the names of many early ciphers, but these things that used various lookup tables, etc. are implementable with basic programming. If you have to get into low level details like binary polynomials, then the basics of what that is and how to program that could overwhelm the students. There is a limit to what you can do in your 1/2 of the 2 weeks.

How say DES works, could be a lecture, but I doubt a student could go from "ground zero" to working code in 2 weeks, even with the algorithm clearly spelled out.

Update: you could have some fun with the Unix password encryption system.

In reply to Re: Perl Cryptography - Seeking Resources by Marshall
in thread Perl Cryptography - Seeking Resources by ljamison

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2022-08-11 05:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found