code: function fingerprint(key) {
      assert.string(key, 'ssh_key');
  
      var k = sshpk.parseKey(key, 'ssh');
      return (k.fingerprint('md5').toString('hex'));
    }
docs: Generates an OpenSSH fingerprint from an ssh public key.
  
  @param {String} key an OpenSSH public key.
  @return {String} key fingerprint.
  @throws {TypeError} on bad input.
  @throws {Error} if what you passed doesn't look like an ssh public key.