watchtower: fix comments on breach hint and key
This commit is contained in:
1 parent
e488002db5
commit
54b30423a3
3 files changed
+4
-3
No files matched your search
@@ -339,7 +339,8 @@ func (t *backupTask) craftSessionPayload(
|
||||
|
||||
breachTxID := t.breachInfo.BreachTxHash
|
||||
|
||||
// Compute the breach key as SHA256(txid).
|
||||
// Compute the breach hint as SHA256(txid)[:16] and breach key as
|
||||
// SHA256(txid || txid).
|
||||
hint, key := blob.NewBreachHintAndKeyFromHash(&breachTxID)
|
||||
|
||||
// Then, we'll encrypt the computed justice kit using the full breach
|
||||
|
||||
Reference in new issue
Block a user