7. Cryptographic FunctionsΒΆ

We provide implementations of several cryptographic algorithms that you can use in your implementation.

These utilities are defined in userlib, which is already imported into proj2.go.


You cannot use any external cryptography libraries. The autograder will refuse external libraries except those given in proj2.go (see Autograded Code).

The following pages document the crypto functions provided in userlib.