Host:
<syntaxhighlight lang="C">
int challenge = random();
-int keyID = sendToKey(getKeyID, null);
+sendToKey(getKeyID, null);
+int keyID = getFromKey();
sendToKey(authChallenge, challenge);
if (sha2(keychain[keyID] + challange) == getFromKey()) {
openGate();