Re: Can somebody point me in the right direction?



notreal@xxxxxxxxxxx wrote:
[...]
Thank you for your input. Do you see any flaws in my approach?

It just seems slightly cumbersome :)

Let's try to define something more concrete:

You say you want 10 character strings, so if we assume you'll be using something like base 64, this gives 60 bits of information. With one more character (or an alphabet larger than 64 chars) you could round this to 64 bits, to be able to use more standard encryptions (like Triple-DES).

With a 64 bit "message" you could do something like:

[40 bit magic number][4 bit information][20 bit counter]

then take this message and encrypt with a private key only known by both "black boxes".

The second black box can take the message decrypt it and test the magic number. If it is the same as expected then the message was generated by the first black box.

This will give you a 1 / 2^40 probability of a random message being interpreted as valid (it is actually slightly better because the "information" field might have invalid values giving an extra 10/16 resilience).

If this is enough or not will depend on your threat model...

--
Paulo Marques
Software Development Department - Grupo PIE, S.A.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com

"God is love. Love is blind. Ray Charles is blind. Ray Charles is God."
.



Relevant Pages

  • Re: /proc/kallsyms broken in 2.6.26-rc1-git6
    ... the question is whether it is kallsyms misbehaving and placing new symbols in the kernel image or if it is some other change in the kernel that is generating new symbols that end up in the symbol table. ... Ray Charles is blind. ... Ray Charles is God." ...
    (Linux-Kernel)
  • Re: HAVE YOU HEARD THE GOOD NEWS!
    ... > If God is love, and love is blind, does that mean Ray Charles is God? ... > (albeit in a Nietschean sense of the term) ...
    (comp.os.linux.networking)
  • Re: [PATCH 2/2] kallsyms: Nuke all ChangeLog, this should be logged by git
    ... it was a mistake to add a Changelog ... Ray Charles is blind. ... Ray Charles is God." ...
    (Linux-Kernel)
  • Re: Seymour, an Introduction
    ... of the new Governor of New York--but of the fact that he is blind. ... but what is revealed by the thing, by the nature of the work; ... with God the Creator. ... thru meditation and that ALL Creativity takes place there. ...
    (rec.arts.books)
  • Re: A great view on the universe
    ... The particulars ... I think everyone does try to question God sometime in their life. ... to maintain a blind belief. ... a lot of time evaluating purported evidence for god (like your ...
    (talk.origins)