Updated the dkim util.
added Key#to_hash for eventual serialization.
Use warn to print to stderr.