213 reputation
17
bio website apsillers.github.io
location United States
age 26
visits member for 2 years, 8 months
seen yesterday

"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.
Aug
12
awarded  Autobiographer
Jul
24
awarded  Critic
Feb
23
awarded  Yearling
Jan
3
awarded  Supporter
Jan
3
revised HMAC for short messages
deleted 4 characters in body
Jan
3
awarded  Teacher
Jan
3
awarded  Editor
Jan
3
revised HMAC for short messages
added 230 characters in body
Jan
3
answered HMAC for short messages
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.
Feb
24
awarded  Student
Feb
23
awarded  Scholar
Feb
23
accepted Can I secure my key by XORing it with a hashed password?
Feb
23
asked Can I secure my key by XORing it with a hashed password?