## SageMath Code

Below you will find the SageMath scripts for the CrypTool Book.

#### Chapter 1

#### Chapter 2

- chap02_sample01.sage
- chap02_sample02.sage
- chap02_sample03.sage
- chap02_sample04.sage
- chap02_sample05.sage
- chap02_sample06.sage
- chap02_sample07.sage
- chap02_sample08.sage
- chap02_sample09.sage
- chap02_sample10.sage
- chap02_sample11.sage
- chap02_sample12.sage
- chap02_sample13.sage
- chap02_sample14.sage
- chap02_sample15.sage

#### Chapter 3

- chap03_sample01.sage
- chap03_sample02.sage
- chap03_sample03.sage
- chap03_sample04.sage
- chap03_sample05.sage
- chap03_sample06.sage

#### Chapter 4

- chap04_sample01.sage
- chap04_sample02.sage
- chap04_sample03.sage
- chap04_sample04.sage
- chap04_sample05.sage
- chap04_sample06.sage
- chap04_sample07.sage
- chap04_sample08.sage
- chap04_sample09.sage
- chap04_sample10.sage
- chap04_sample11.sage
- chap04_sample12.sage
- chap04_sample13.sage
- chap04_sample14.sage
- chap04_sample15.sage
- chap04_sample16.sage
- chap04_sample17.sage

#### Chapter 8

- chap08_sample01.sage
- chap08_sample02.sage
- chap08_sample03.sage
- chap08_sample04.sage
- chap08_sample05.sage
- chap08_sample06.sage
- chap08_sample07.sage
- chap08_sample08.sage
- chap08_sample09.sage
- chap08_sample10.sage
- chap08_sample11.sage
- chap08_sample12.sage
- chap08_sample13.sage
- chap08_sample14.sage
- chap08_sample15.sage
- chap08_sample16.sage
- chap08_sample17.sage
- chap08_sample18.sage
- chap08_sample19.sage
- chap08_sample20.sage
- chap08_sample21.sage
- chap08_sample21_without-prints.sage
- chap08_sample22.sage
- chap08_sample23.sage
- chap08_sample24.sage
- chap08_sample25.sage
- chap08_sample26.sage
- chap08_sample27.sage

#### Other

- bitciphers.sage (library used by most scripts in chapter 8)
- LFSRseq.png (output created by sage script in chapter 8)
- primroots.dat (dat file created by sage script in chapter 3)
- primroot-smallest_up-to-one-million.dat (dat file created by sage script in chapter 3)