From 0b315f54398222b5ec114f7ae1aaf6801e341aab Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Sat, 21 Sep 2024 16:11:45 +0100 Subject: [PATCH] Update 4108-oidc-qr-login.md Co-authored-by: Denis Kasak --- proposals/4108-oidc-qr-login.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/4108-oidc-qr-login.md b/proposals/4108-oidc-qr-login.md index 9d26cc56..cd9b7272 100644 --- a/proposals/4108-oidc-qr-login.md +++ b/proposals/4108-oidc-qr-login.md @@ -529,7 +529,7 @@ If the above was successful, Device S then calculates a two digit **CheckCode** **Sp**: ``` -CheckBytes := HKDF_SHA256(SH, "MATRIX_QR_CODE_LOGIN_CHECKCODE|" || Gp "|" || Sp , salt=0, size=2) +CheckBytes := HKDF_SHA256(SH, "MATRIX_QR_CODE_LOGIN_CHECKCODE|" || Gp || "|" || Sp , salt=0, size=2) CheckCode := NumToString(CheckBytes[0] % 10) || NumToString(CheckBytes[1] % 10) ```