From 106e6aa4b35d85873607acb4475ef89b78780888 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Thu, 6 Mar 2025 10:20:18 +0000 Subject: [PATCH 1/2] Add max secret length --- 00.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00.md b/00.md index 76ee2faa..b8d2e9bc 100644 --- a/00.md +++ b/00.md @@ -93,7 +93,7 @@ A `Proof` is also called an _input_ and is generated by `Alice` from a `BlindSig } ``` -`amount` is the amount of the `Proof`, `secret` is the secret message and is a utf-8 encoded string (the use of a 64 character hex string generated from 32 random bytes is recommended to prevent fingerprinting), `C` is the unblinded signature on `secret` (hex string), `id` is the [keyset id][02] of the mint public keys that signed the token (hex string). +`amount` is the amount of the `Proof`, `secret` is the secret message and is a utf-8 encoded string that **MUST NOT** exceed 512 characters (the use of a 64 character hex string generated from 32 random bytes is recommended to prevent fingerprinting), `C` is the unblinded signature on `secret` (hex string), `id` is the [keyset id][02] of the mint public keys that signed the token (hex string). ## 0.2 - Protocol From 58438d35372d9343c4fa2adef1d5c9cdc5e4408d Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 25 Apr 2025 13:35:20 +0200 Subject: [PATCH 2/2] simplify --- 00.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00.md b/00.md index b8d2e9bc..ce046653 100644 --- a/00.md +++ b/00.md @@ -93,7 +93,7 @@ A `Proof` is also called an _input_ and is generated by `Alice` from a `BlindSig } ``` -`amount` is the amount of the `Proof`, `secret` is the secret message and is a utf-8 encoded string that **MUST NOT** exceed 512 characters (the use of a 64 character hex string generated from 32 random bytes is recommended to prevent fingerprinting), `C` is the unblinded signature on `secret` (hex string), `id` is the [keyset id][02] of the mint public keys that signed the token (hex string). +`amount` is the amount of the `Proof`, `secret` is a string of 64 hex characters generated from 32 bytes of random data, `C` is the unblinded signature on `secret` (hex string), `id` is the [keyset id][02] of the mint public keys that signed the token (hex string). ## 0.2 - Protocol