In a method for use in checking a person's identity, at least part of an
image of a fingerprint from the person is transformed so that a
representation of a frequency content in said part of the image is
obtained. Based on the obtained representation of the frequency content,
a frequency code is determined, which contains a predetermined number of
frequency code values. A device for carrying out the method is also
described.