(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.0' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 10535, 393]*) (*NotebookOutlinePosition[ 11626, 431]*) (* CellTagsIndexPosition[ 11513, 424]*) (*WindowFrame->Normal*) Notebook[{ Cell[TextData[{ "Worldwide ", StyleBox["Mathematica", FontSlant->"Italic"], " Conference ", StyleBox["\[FilledSmallCircle]", FontSlant->"Plain"], " Chicago 199x8" }], "Subsubtitle", CellMargins->{{17, 43}, {Inherited, Inherited}}, CellOpen->False, TextAlignment->Left, TextJustification->0], Cell[TextData[{ "Hill Ciphers: A Linear Algebra Project with ", StyleBox["Mathematica", FontSlant->"Italic"] }], "Title", TextAlignment->Center, TextJustification->0], Cell[TextData[StyleBox["ICTCM 12\nBurlingame, California\n6 November 1999", FontWeight->"Plain", FontSlant->"Plain"]], "Title", TextAlignment->Center, TextJustification->0, FontSize->23], Cell[TextData[{ StyleBox["Murray Eisenberg", FontFamily->"Helvetica", FontSize->20, FontWeight->"Bold", FontSlant->"Plain"], "\n", StyleBox["Mathematics and Statistics Department\nUniversity of \ Massachusetts, Amherst\n", FontSize->16, FontWeight->"Bold"], StyleBox["murray@math.umass.edu\nwww.math.umass.edu/~murray", FontFamily->"Courier", FontSize->18, FontWeight->"Bold", FontSlant->"Plain"] }], "Subtitle", TextAlignment->Center, TextJustification->0], Cell["Copyright \[Copyright] 1999 by Murray Eisenberg", "Copyright", TextAlignment->Center, TextJustification->0], Cell[CellGroupData[{ Cell["Introduction", "Section"], Cell[CellGroupData[{ Cell["Project goals", "Subsection"], Cell["\<\ Students learn mathematics on their own\ \>", "Subsubsection"], Cell[TextData[{ "Learn more linear algebra: scalar field ", Cell[BoxData[ \(TraditionalForm\`\[DoubleStruckCapitalZ]\_m\)]] }], "Subsubsection"], Cell[CellGroupData[{ Cell[TextData[{ "Learn more about ", StyleBox["Mathematica", FontSlant->"Italic"] }], "Subsubsection"], Cell[TextData[{ "\[FilledSmallCircle] Students learning ", StyleBox["Mathematica", FontSlant->"Italic"], " throughout the course.\n\[FilledSmallCircle] An \"open\" \ system\[LongDash]not a closed application.\n\[FilledSmallCircle] Leverage \ what student learns now for later." }], "Text"] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[TextData[{ "Why ", StyleBox["Mathematica", FontSlant->"Italic"], "?" }], "Subsection"], Cell["\<\ \"Teach the computer\": express ideas in terms computer can execute\ \>", "Subsubsection"], Cell[CellGroupData[{ Cell["Could use other CAS or general-purpose programming language", \ "Subsubsection"], Cell[TextData[{ StyleBox["\[FilledSmallCircle] ", FontWeight->"Plain", FontSlant->"Plain"], StyleBox["Mathematica", FontSlant->"Italic"], " has built-in functions allowing student to concentrate upon the task.\n\ \[FilledSmallCircle] Need to be able to load packages student cannot read.\n\ \[FilledSmallCircle] Tedious in programming language not array-oriented." }], "Text"] }, Closed]], Cell["Originally implemented in APL and, recently, J.", "Subsubsection"], Cell[TextData[{ "Project barely exploit capabilities of ", StyleBox["Mathematica", FontSlant->"Italic"], " (graphics, numerics, symbolics) " }], "Subsubsection"] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell["Hill ciphers", "Section", CellTags->"from_tutorial"], Cell[BoxData[ StyleBox[ ButtonBox[ RowBox[{" ", StyleBox[\(Hill\ tutorial\), FontVariations->{"Underline"->False}]}], ButtonData:>{ FrontEnd`FileName[ { Directory[ ]}, "HillTutor.nb", CharacterEncoding -> "WindowsANSI"], None}, ButtonStyle->"Hyperlink", ButtonMargins->6, ButtonNote->"Open notebook Hill Tutor"], FontFamily->"Helvetica"]], "Text", TextAlignment->Center, TextJustification->0, FontWeight->"Bold"] }, Closed]], Cell[CellGroupData[{ Cell["Student reading material", "Section"], Cell[TextData[{ "Printed handout\[LongDash]not yet ", StyleBox["Mathematica", FontSlant->"Italic"], " notebook!" }], "Subsection"] }, Closed]], Cell[CellGroupData[{ Cell["The project", "Section"], Cell[BoxData[ StyleBox[ ButtonBox[ RowBox[{" ", StyleBox["About", FontVariations->{"Underline"->False}]}], ButtonData:>{ FrontEnd`FileName[ { Directory[ ]}, "AboutHill.nb", CharacterEncoding -> "WindowsANSI"], None}, ButtonStyle->"Hyperlink", ButtonMargins->6, ButtonNote->"Open notebook About Hill"], FontFamily->"Helvetica"]], "Text", TextAlignment->Center, TextJustification->0, FontWeight->"Bold"] }, Closed]], Cell[CellGroupData[{ Cell["Implementation", "Section", CellTags->"implementation"], Cell[CellGroupData[{ Cell["Ready-to-use files on web site", "Subsection"], Cell[TextData[ButtonBox["http://www.math.umass.edu/~murray/Hill_ciphers/", ButtonData:>{ URL[ "http://www.math.umass.edu/~murray/Hill_ciphers/hill_ciphers.html"], None}, ButtonStyle->"Hyperlink"]], "Text", TextAlignment->Center, TextJustification->0] }, Closed]], Cell[CellGroupData[{ Cell["To change, need source notebooks", "Subsection"], Cell[TextData[{ "Edit notebooks, save as packages, use ", StyleBox["Encode", FontFamily->"Courier"], "." }], "Text"] }, Closed]], Cell[CellGroupData[{ Cell["Methods", "Subsection"], Cell["Generate key matrices on fly", "Subsubsection"], Cell[CellGroupData[{ Cell["Lookup in database of text strings", "Subsubsection"], Cell[BoxData[GridBox[{ { ButtonBox[ RowBox[{ StyleBox[" ", ButtonBoxOptions->{Active->True}], StyleBox["HillData", FontVariations->{"Underline"->False}, ButtonBoxOptions->{Active->True}]}], ButtonData:>{ FrontEnd`FileName[ { Directory[ ]}, "HillData.nb", CharacterEncoding -> "WindowsANSI"], None}, ButtonStyle->"Hyperlink", ButtonMargins->6, ButtonNote->"Open notebook HillData"], ButtonBox[ RowBox[{ StyleBox[" ", ButtonBoxOptions->{Active->True}], StyleBox["HillDBase0", FontVariations->{"Underline"->False}, ButtonBoxOptions->{Active->True}]}], ButtonData:>{ FrontEnd`FileName[ { Directory[ ]}, "HillDBase0.nb", CharacterEncoding -> "WindowsANSI"], None}, ButtonStyle->"Hyperlink", ButtonMargins->6, ButtonNote->"Open notebook HillDBase0"], ButtonBox[ RowBox[{ StyleBox[" ", ButtonBoxOptions->{Active->True}], StyleBox["Vdencipher", FontVariations->{"Underline"->False}, ButtonBoxOptions->{Active->True}]}], ButtonData:>{ FrontEnd`FileName[ { Directory[ ]}, "Vdencipher.nb", CharacterEncoding -> "WindowsANSI"], None}, ButtonStyle->"Hyperlink", ButtonMargins->6, ButtonNote->"Open notebook Vdencipher"]} }, RowSpacings->0, ColumnSpacings->0, GridDefaultElement:>ButtonBox[ "\\[Placeholder]"]]], "Text", TextAlignment->Center, TextJustification->0, FontFamily->"Helvetica", FontWeight->"Bold", FontSlant->"Plain", FontColor->RGBColor[0, 0, 1]] }, Closed]], Cell["Generalizable setup!", "Subsubsection"], Cell[CellGroupData[{ Cell["Issues", "Subsubsection"], Cell["\<\ \[FilledSmallCircle] Create pacakge \"context\" only if globals check OK. \[FilledSmallCircle] Create symbolic names indirectly\ \>", "Text"] }, Closed]] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell["Extensions and modifications", "Section"], Cell[CellGroupData[{ Cell["\<\ Student writes own functions\[LongDash]or modifies instructor's for real \ scalar field:\ \>", "Subsubsection"], Cell[TextData[{ "\[FilledSmallCircle] to do row-reduction and matrix inversion modulo ", StyleBox["m", FontWeight->"Plain", FontSlant->"Italic"] }], "Text"], Cell[TextData[{ "\[FilledSmallCircle] to use euclidean algorithm to find reciprocals modulo \ ", StyleBox["m", FontWeight->"Plain", FontSlant->"Italic"] }], "Text"] }, Closed]], Cell["Could guide student toward discovering Cracking Theorem", \ "Subsubsection"], Cell["Allow non-prime alphabet length", "Subsubsection"], Cell["Allow affine transformations, not just linear", "Subsubsection"], Cell["Use arbitrary transposition cipher first", "Subsubsection"], Cell["Have to detect key matrix size", "Subsubsection"], Cell["Frequency analysis when no captured plaintext-ciphertext", \ "Subsubsection"] }, Closed]] }, FrontEndVersion->"5.0 for Microsoft Windows", ScreenRectangle->{{0, 1600}, {0, 1155}}, ScreenStyleEnvironment->"Presentation", WindowToolbars->{}, WindowSize->{820, 781}, WindowMargins->{{0, Automatic}, {Automatic, 0}}, PrintingCopies->1, PrintingPageRange->{Automatic, Automatic}, Magnification->1.25, StyleDefinitions -> "WksStyle.nb" ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{ "from_tutorial"->{ Cell[4938, 184, 60, 1, 61, "Section", CellTags->"from_tutorial"]}, "implementation"->{ Cell[6386, 243, 63, 1, 61, "Section", CellTags->"implementation"]} } *) (*CellTagsIndex CellTagsIndex->{ {"from_tutorial", 11311, 414}, {"implementation", 11410, 417} } *) (*NotebookFileOutline Notebook[{ Cell[1754, 51, 316, 12, 80, "Subsubtitle", CellOpen->False], Cell[2073, 65, 178, 6, 144, "Title"], Cell[2254, 73, 196, 5, 119, "Title"], Cell[2453, 80, 509, 18, 192, "Subtitle"], Cell[2965, 100, 117, 2, 90, "Copyright"], Cell[CellGroupData[{ Cell[3107, 106, 31, 0, 97, "Section"], Cell[CellGroupData[{ Cell[3163, 110, 35, 0, 83, "Subsection"], Cell[3201, 112, 72, 2, 67, "Subsubsection"], Cell[3276, 116, 154, 4, 67, "Subsubsection"], Cell[CellGroupData[{ Cell[3455, 124, 110, 4, 68, "Subsubsection"], Cell[3568, 130, 299, 7, 134, "Text"] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[3916, 143, 101, 5, 83, "Subsection"], Cell[4020, 150, 100, 2, 67, "Subsubsection"], Cell[CellGroupData[{ Cell[4145, 156, 86, 1, 67, "Subsubsection"], Cell[4234, 159, 394, 9, 134, "Text"] }, Closed]], Cell[4643, 171, 72, 0, 67, "Subsubsection"], Cell[4718, 173, 171, 5, 93, "Subsubsection"] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[4938, 184, 60, 1, 61, "Section", CellTags->"from_tutorial"], Cell[5001, 187, 533, 16, 56, "Text"] }, Closed]], Cell[CellGroupData[{ Cell[5571, 208, 43, 0, 61, "Section"], Cell[5617, 210, 140, 5, 83, "Subsection"] }, Closed]], Cell[CellGroupData[{ Cell[5794, 220, 30, 0, 61, "Section"], Cell[5827, 222, 522, 16, 56, "Text"] }, Closed]], Cell[CellGroupData[{ Cell[6386, 243, 63, 1, 61, "Section", CellTags->"implementation"], Cell[CellGroupData[{ Cell[6474, 248, 52, 0, 83, "Subsection"], Cell[6529, 250, 267, 6, 50, "Text"] }, Closed]], Cell[CellGroupData[{ Cell[6833, 261, 54, 0, 83, "Subsection"], Cell[6890, 263, 126, 5, 50, "Text"] }, Closed]], Cell[CellGroupData[{ Cell[7053, 273, 29, 0, 83, "Subsection"], Cell[7085, 275, 53, 0, 67, "Subsubsection"], Cell[CellGroupData[{ Cell[7163, 279, 59, 0, 67, "Subsubsection"], Cell[7225, 281, 1979, 53, 57, "Text"] }, Closed]], Cell[9219, 337, 45, 0, 67, "Subsubsection"], Cell[CellGroupData[{ Cell[9289, 341, 31, 0, 67, "Subsubsection"], Cell[9323, 343, 151, 3, 92, "Text"] }, Closed]] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[9535, 353, 47, 0, 61, "Section"], Cell[CellGroupData[{ Cell[9607, 357, 121, 3, 92, "Subsubsection"], Cell[9731, 362, 168, 5, 50, "Text"], Cell[9902, 369, 176, 6, 50, "Text"] }, Closed]], Cell[10093, 378, 82, 1, 67, "Subsubsection"], Cell[10178, 381, 56, 0, 67, "Subsubsection"], Cell[10237, 383, 70, 0, 67, "Subsubsection"], Cell[10310, 385, 65, 0, 67, "Subsubsection"], Cell[10378, 387, 55, 0, 67, "Subsubsection"], Cell[10436, 389, 83, 1, 67, "Subsubsection"] }, Closed]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)