Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Computer Security

By David Wagner, Nicholas Weaver, Peyrin Kao, Fuzail Shakir, Andrew Law, and Nicholas Ngai

Additional contributions by Noura Alomar, Sheqi Zhang, and Shomil Jain

This is the textbook for CS 161: Computer Security at UC Berkeley. It provides a brief survey over common topics in computer security including memory safety, cryptography, web security, and network security.


As of the Spring 2023 semester, this textbook is still being actively maintained and updated. Please contact for information regarding corrections.

Source and Changelog

The source for the textbook and a log of all changes is available on Github.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.