summaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto')
-rw-r--r--src/Crypto/Tox.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/Tox.hs b/src/Crypto/Tox.hs
index 9f7c5e16..a25f9f4f 100644
--- a/src/Crypto/Tox.hs
+++ b/src/Crypto/Tox.hs
@@ -90,7 +90,7 @@ import Data.Word64Map (fitsInInt)
90 90
91-- | A 16-byte mac and an arbitrary-length encrypted stream. 91-- | A 16-byte mac and an arbitrary-length encrypted stream.
92newtype Encrypted a = Encrypted ByteString 92newtype Encrypted a = Encrypted ByteString
93 deriving (Eq,Ord,Data) 93 deriving (Eq,Ord,Data,ByteArrayAccess)
94 94
95newtype Encrypted8 a = E8 (Encrypted (a,Nonce8)) 95newtype Encrypted8 a = E8 (Encrypted (a,Nonce8))
96 deriving (Serialize, Show) 96 deriving (Serialize, Show)