Calculate key fingerprint.