Lecture notes on private-key cryptography, derandomization, cryptographic codes, pseudorandom generators, expanding random numbers, and the Blum-Blum-Shub (BBS) CPRG.