mirror of
https://github.com/siv-org/siv.git
synced 2026-01-08 18:07:56 -05:00
DetailedEncryptionReceipt: Include Generator as well
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { RP } from 'src/crypto/curve'
|
||||
|
||||
import { Paper } from '../../protocol/Paper'
|
||||
import { State } from '../vote-state'
|
||||
|
||||
@@ -36,8 +38,9 @@ Encryption Formula
|
||||
Encrypted = Encoded + (Recipient * randomizer)
|
||||
Lock = (Generator * randomizer)
|
||||
|
||||
Encryption Public Key (Recipient):
|
||||
${state.public_key}
|
||||
Encryption Public Key
|
||||
Recipient: ${state.public_key}
|
||||
Generator: ${RP.BASE.toHex()}
|
||||
|
||||
---------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user