<div dir="ltr"><div class="gmail_default" style="font-size:small">Has anyone put code in to create a digital signature to accompany an image?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I guess the obvious alternative would be to pipe the output to a program that does signatures, but it might be nice to avoid that.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">There are clearly issues about whether the signature is embedded in the image file or a separate file, and what level of hashing and encryption to use. If there were already something in SANE that did the function I could just persuade people to use that rather than having a long debate on the issues.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">FWIW, my application is a Fujitsu fi-5900c scanner using its option to compress the image into a jpeg within the scanner. (This reduces the time squeezing these large images through the USB 2.0 interface). This means that the hash of the file would be computed on the jpeg rather than an uncompressed image format).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="verdana, sans-serif">-- Wes</font></div></div></div></div>