Skip to content

Commit

Permalink
doc: SWAP2-Design section on salt determination
Browse files Browse the repository at this point in the history
  • Loading branch information
ARR4N authored Jul 13, 2024
1 parent 78eeaf8 commit 2b95e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SWAP2-Design.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ Although this is still highly unlikely, [NIST recommends against 80 bits of secu
We can achieve this by securely choosing the CREATE2 salt _after_ agreeing to trade details, returning to 160 bits due to second-preimage resistance.

> [!CAUTION]
> To provide 160-bit security, CREATE2 salts SHOULD be deteremined after agreeing to specifics of a trade.
> Without this, security guarantees might be halved to 80 bits.
> To provide 160-bit security, CREATE2 salts MUST be deteremined after agreeing to specifics of a trade.
> Without this, the security guarantee is halved to 80 bits.
## Terminology

Expand Down

0 comments on commit 2b95e51

Please sign in to comment.