Apparently a nonce will be needed but can be transmitted unciphered along with the message

This commit is contained in:
Tissevert 2019-10-17 11:24:36 +02:00
parent 9cfcd691fd
commit e11a899745
1 changed files with 2 additions and 1 deletions

View File

@ -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