Salt the hash with the recipient of the action's name, and you can greatly cut down on the collisions.
Matthew Berlin arkes...@gmail.com 535 Misty Patch Rd. Coatesville, PA 19320 (484) 832-1055 On Wed, Jul 3, 2013 at 5:30 PM, Alex Smith <ais...@bham.ac.uk> wrote: > On Wed, 2013-07-03 at 22:25 +0100, Elliott Hird wrote: > > On 3 July 2013 22:11, Alex Smith <ais...@bham.ac.uk> wrote: > > > I think ehird's suggestion works, though; you could promise "I perform > > > the specified action with the sha-1 hash <long hex string here>". For > > > bonus points, you could even transfer it to the Tree, leaving it > unclear > > > who you'd made the promise to. > > > > I think encryption where you reveal the private key is better. There > > are presumably an infinite number of actions with any given SHA-1 hash > > (or at least we can't rule that out). > > Nah, you can be made to perform any of those actions, the casher just > specifies which. Perhaps it requires better wording, or moving the hash > to a cashing condition. > > -- > ais523 > >