Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A website authenticates its users by asking for a login / password , and sends them a cookie C , valid for one minute, to

A website authenticates its users by asking for a login/password, and sends them a cookie C, valid for one minute, to keep track of their authentication status. The cookie C is formed such as C = Enc("user=username,tmstmp=timestamp"), with username = "anonymous" for unauthenticated users, or the name of the user when authenticated; and timestamp is a Unix-formated timestamp1 representing the time up to which the user is authenticated (current time plus one minute). Enc() designates the AES256 encryption in OFB-mode using iv as a random IV and k as a random key; both k and iv are unknown to us. The OFB mode of operation for encryption is described in Figure 1.
In this exercise, we consider cookies delivered on February 1st,2024 at 00:00am UTC. At that time, an unauthenticated user coming to the website will receive a cookie:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions