diff options
Diffstat (limited to 'src/Crypto')
-rw-r--r-- | src/Crypto/Tox.hs | 2 |
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. |
92 | newtype Encrypted a = Encrypted ByteString | 92 | newtype Encrypted a = Encrypted ByteString |
93 | deriving (Eq,Ord,Data) | 93 | deriving (Eq,Ord,Data,ByteArrayAccess) |
94 | 94 | ||
95 | newtype Encrypted8 a = E8 (Encrypted (a,Nonce8)) | 95 | newtype Encrypted8 a = E8 (Encrypted (a,Nonce8)) |
96 | deriving (Serialize, Show) | 96 | deriving (Serialize, Show) |