diff options
Diffstat (limited to 'tox-crypto/src/Crypto/Tox.hs')
-rw-r--r-- | tox-crypto/src/Crypto/Tox.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tox-crypto/src/Crypto/Tox.hs b/tox-crypto/src/Crypto/Tox.hs index 04b55d94..602ead0a 100644 --- a/tox-crypto/src/Crypto/Tox.hs +++ b/tox-crypto/src/Crypto/Tox.hs | |||
@@ -67,6 +67,16 @@ module Crypto.Tox | |||
67 | , encodeSecret | 67 | , encodeSecret |
68 | , decodeSecret | 68 | , decodeSecret |
69 | , xorsum | 69 | , xorsum |
70 | , Codec.AsciiKey256.showBase32Key256 | ||
71 | , Codec.AsciiKey256.showBase64Key256 | ||
72 | , Codec.AsciiKey256.showKey256 | ||
73 | , Codec.AsciiKey256.parseBase64Key256 | ||
74 | , Codec.AsciiKey256.parseBase32Key256 | ||
75 | , Codec.AsciiKey256.parseKey256 | ||
76 | , Codec.AsciiKey256.readP_key256 | ||
77 | , Codec.AsciiKey256.readsPrecKey256 | ||
78 | , Codec.AsciiKey256.stripSuffix | ||
79 | , Codec.AsciiKey256.nmtoken64 | ||
70 | ) where | 80 | ) where |
71 | 81 | ||
72 | import Control.Arrow | 82 | import Control.Arrow |
@@ -99,6 +109,7 @@ import Foreign.Marshal.Alloc | |||
99 | import Foreign.Ptr | 109 | import Foreign.Ptr |
100 | import Foreign.Storable | 110 | import Foreign.Storable |
101 | import System.Endian | 111 | import System.Endian |
112 | import Codec.AsciiKey256 | ||
102 | import Control.Concurrent.STM | 113 | import Control.Concurrent.STM |
103 | #ifdef CRYPTONITE_BACKPORT | 114 | #ifdef CRYPTONITE_BACKPORT |
104 | import Crypto.ECC.Class | 115 | import Crypto.ECC.Class |