Skip to main content

CS409: Cryptography

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS409: Cryptography /
  • Unit 4: Hash Functions
Back to course 'CS409: Cryptography'
  • Unit 4: Hash Functions

    This unit will introduce the concept of "hash" and then present the important MD5 and SHA-1 hash functions. (MD5 is a widely used cryptographic hash function with a 128-bit hash value, and SHA-1 is a cryptographic hash function designed by the National Security Agency.) We will finish the unit with a look at message authentication code, sometimes called a "keyed hash function."

    Completing this unit should take you approximately 19 hours.

    • Unit 4 Learning Outcomes Page
    • 4.1: Cryptographic Hash

      • Steve Friedl's "Illustrated Guide to Cryptographic Hashes" >

        Read this page about cryptographic hashes. Understand what hash is, how hash works, how to use it with UNIX, and issues related to collisions.

    • 4.2: Cryptographic Hash Functions

        • 4.2.1: MD5

          •  Wikipedia: "MD5" URL

            Read about the MD5, which is a widely used cryptographic hash function. Make sure you understand the MD5 algorithm.

        • 4.2.2: SHA-1

          •  Wikipedia: "SHA-1" URL

            Read about the cryptographic hash function designed by the National Security Agency. Make sure you understand SHA-1 pseudo code.

        • 4.2.3: Message Authentication Code

          •  Wikipedia: "Message Authentication Code" URL

            Read the linked article about message authentication code. Make sure you understand the examples in the article.

      • 4.3: Cryptographic Hashing Function in Code

        •  Open Web Application Security Project: "Cryptographic Hashing Function" URL

          Create a Java language program that runs cryptographic hashing function. One possible solution can be found in this article. Study the solution code only after you have solved the problem or spent a substantial amount of time working on it.

    Navigation

    Art History
    Biology
    Business Administration
    Chemistry
    Communication
    Economics
    English
    History
    Mathematics

    Creative Commons License
    © Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

    Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

    Terms of Use | Privacy Policy