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

View file

@ -183,7 +183,8 @@ instance ToJSON ByteString where
toEncoding = toEncoding . decodeUtf8 toEncoding = toEncoding . decodeUtf8
data PublicGame = PublicGame { data PublicGame = PublicGame {
playerHand :: Hanafuda.Pack nonce :: ByteString
, playerHand :: Hanafuda.Pack
, privateState :: ByteString , privateState :: ByteString
, publicState :: PublicState , publicState :: PublicState
, publicSignature :: ByteString , publicSignature :: ByteString