The present invention relates to the problem of establishing of security that
arises within an ad hoc network
The problem is solved by using an optical device at a first device to read a
public key that is encoded to a graphical string at a second device, which key
is required for establishing security.