moegrammer on Nostr: Heyo, great question. My rationale behind double hashing the recovery key commitment ...
Heyo, great question. My rationale behind double hashing the recovery key commitment was to prevent against length extension attacks.
I’m not a cryptography expert though so there’s a possibility that double hashing might just be unnecessary complexity. Would be awesome to know for certain
Published at
2023-04-17 16:25:51Event JSON
{
"id": "fe20b1f99d0bcce8092ff07036d46518bee9128ce557688a523a002a7a10efe0",
"pubkey": "dbf3d7c79a92995ccfb135997ac1612f41637c8a805be393204b3d1c2769d127",
"created_at": 1681748751,
"kind": 1,
"tags": [
[
"e",
"6e1828963340f8c865c863be2d7cb984f8eb43fe6ddad32b3ecf8f5846345810"
],
[
"e",
"283e50108b06fa3e05dc4a55188c8cbaa59f00dfd851f6b0214e8c045127a4bc"
],
[
"p",
"b7ed68b062de6b4a12e51fd5285c1e1e0ed0e5128cda93ab11b4150b55ed32fc"
]
],
"content": "Heyo, great question. My rationale behind double hashing the recovery key commitment was to prevent against length extension attacks. \n\nI’m not a cryptography expert though so there’s a possibility that double hashing might just be unnecessary complexity. Would be awesome to know for certain",
"sig": "84caa3dbe77a03f55bfa55c6112a85e9b896832f0fbcc2898f19350170d1f624666ef57fdd670130f75abf955fbfb2d5f3b886c91f8a10801f25a8a9606240ab"
}