CSE 130 Lecture Notes - Lecture 17: Cryptographic Hash Function, Short Circuit, Scrypt

44 views4 pages

Document Summary

Laws: return x >>= f = f x, m >>= return = m, m >>= (\x -> k x >>= h) = (m >>= k) >>= h do (m. In do notation: do x > putstr s = putstr (r ++ s) Instance monday maybe where return :: a -> maybe a return x = just x (>>=) :: maybe a -> (a -> maybe b) -> maybe b act 1 (>>=) k = case act 1 of. What"s wrong with saying that the password is incorrect? well you just typed a garbage password and exposed to whom the email belongs. //reply sorry dunno this doesn"t do any hashing! //reply sorry dunno this takes time to hash! Pre-image resistant: given an output, cannot find an input s. t. hash(input) = output.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers