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

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 Fall 2021 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.