Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of BRK.ABest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd
Search
Shrewd'm.com Merry shrewd investors
Search
Best Of BRK.ABest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd


The week's question
In December 2024, in the thread "Re: BRK: Why Not XOM?", BreckHutHigh asked the members: "What about the long road trips with kids?" This week it is put to everyone again. The button below opens the small thread re-asking it - read what others have said so far, then give your own answer as an ordinary reply.
Answer this questionContinue to Shrewd'mThis note won't appear again
Stocks A to Z / Stocks B / Berkshire Hathaway (BRK.A)
Unthreaded | Threaded | Whole Thread (16) |
Author: sutton   😊 😞
Number: of 21942 
Subject: Re: brk, our cash, staying VERY short,
Date: 02/12/25 5:01 PM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 12
I assume every person here is familiar with the Birthday Problem

I know the Birthday Problem, but until now had no idea it was meaningfully related to cybersecurity. (Dammit, Jim, I'm a doctor, not a...)

Anyhow, after a little hunting I found this, geeksforgeeks.org - Birthday attack in cryptography

which contains:

"Digital signatures can be susceptible to birthday attacks. A message m is typically signed by first computing H(m), where H is a cryptographic hash function, and then using some secret key to sign H(m). Suppose Alice wants to trick Bob into signing a fraudulent contract. Alice prepares a fair contract m and fraudulent one m’. She then finds a number of positions where m can be changed without changing the meaning, such as inserting commas, empty lines, one versus two spaces after a sentence, replacing synonyms, etc. By combining these changes she can create a huge number of variations on m which are all fair contracts.

Similarly, Alice can also make some of these changes on m’ to take it, even more, closer towards m, that is H(m) = H(m’). Hence, Alice can now present the fair version m to Bob for signing. After Bob has signed, Alice takes the signature and attaches to it the fraudulent contract. This signature proves that Bob has signed the fraudulent contract.

To avoid such an attack the output of the hash function should be a very long sequence of bits such that the birthday attack now becomes computationally infeasible.
"

Ok, got it, mostly. Thank you!

(Actually, the whole link above is worth reading)

-- sutton

----------

Completely gratuitous addition follows

Speaking of learning, I found this just the other day (bolding mine):

""The best thing for being sad," replied Merlyn, beginning to puff and blow, "is to learn something. That is the only thing that never fails. You may grow old and trembling in your anatomies, you may lie awake at night listening to the disorder of your veins, you may miss your only love, you may see the world about you devastated by evil lunatics, or know your honor trampled in the sewers of baser minds. There is only one thing for it then -- to learn. Learn why the world wags and what wags it. That is the only thing which the mind can never exhaust, never alienate, never be tortured by, never fear or distrust, and never dream of regretting. Learning is the thing for you. Look at what a lot of things there are to learn -- pure science, the only purity there is. You can learn astronomy in a lifetime, natural history in three, literature in six. And then, after you have exhausted a milliard lifetimes in biology and medicine and theocriticism and geography and history and economics -- why, you can start to make a cartwheel out of the appropriate wood, or spend fifty years learning to begin to learn to beat your adversary at fencing. After that you can start again on mathematics, until it is time to learn to plough."
- T.H. White, The Once and Future King, Book I (The Sword in the Stone), chap. 21
Post New | Post Reply | Report Post | Recommend It!
Print the post
Members reply directly to sutton here — and replies get answered. Reading is free; so is joining the conversation. Join Shrewd'm »
This community has written 21,448 posts about Berkshire Hathaway. The article-length ones it recommended most:
BRK: Why Not XOM? · 62 recs · 2024
Second quarter comments · 60 recs · 2023
Berkshire's Profit Contributors · 57 recs · 2023
Summary of 2Q 2026 · 54 recs · 2026
3Q Summary · 53 recs · 2024
Unthreaded | Threaded | Whole Thread (16) |


Announcements
Berkshire Hathaway FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of BRK.A | Best Of | Favourites & Replies | All Boards | Followed Shrewds | Open Questions | Moving a community