Apparently a nonce will be needed but can be transmitted unciphered along with the message
This commit is contained in:
parent
9cfcd691fd
commit
e11a899745
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ instance ToJSON ByteString where
|
|||
toEncoding = toEncoding . decodeUtf8
|
||||
|
||||
data PublicGame = PublicGame {
|
||||
playerHand :: Hanafuda.Pack
|
||||
nonce :: ByteString
|
||||
, playerHand :: Hanafuda.Pack
|
||||
, privateState :: ByteString
|
||||
, publicState :: PublicState
|
||||
, publicSignature :: ByteString
|
||||
|
|
Loading…
Reference in a new issue