213 reputation
17
bio website apsillers.github.io
location United States
age 26
visits member for 2 years, 7 months
seen Sep 18 at 13:48

"The problem, when solved, will be simple."

Conway's Game of Life

  Controls:
  Step Random Noise
  Clear Random Feature
  Click a cell to toggle it.
  View source


Sep
17
comment Encryption with data loss protection
Perhaps it's not what you need, but you may be interested in locality sensitive hashing -- it's what Google uses to identify identical web pages, even where there's slight difference in HTML content (different ads, etc.). It's been a while since I've looked at LSH, but I think it allows the recipient to calculate the distance of their copy of the book from the original book.
Jan
3
comment HMAC for short messages
Without answering your question too fully: HMACing a short message does not expose meaningfully more key information than HMACing a long message, since the first step in HMAC is to hash the message (appended to a transformation of the key). In HMAC (K,m) = H ((K ⊕ opad) || H ((K ⊕ ipad) || m)), the message m is nested inside of two hash functions.