aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-11-04 11:10:01 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-11-04 11:17:05 +0300
commitab5802ad6d172adea49fc42edab9742551490be7 (patch)
tree9febbdec60779c5deb763d8ea023b55fed1abe76 /src
parent5260b4b5d52cd7d7052c0fa980c048d857e2d14b (diff)
downloadzerobin-ab5802ad6d172adea49fc42edab9742551490be7.tar.gz
Use top-level name Web1.2.0
Diffstat (limited to 'src')
-rw-r--r--src/Web/ZeroBin.hs (renamed from src/ZeroBin.hs)6
-rw-r--r--src/Web/ZeroBin/SJCL.hs (renamed from src/ZeroBin/SJCL.hs)4
-rw-r--r--src/Web/ZeroBin/Utils.hs (renamed from src/ZeroBin/Utils.hs)2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/ZeroBin.hs b/src/Web/ZeroBin.hs
index 5d8abd8..24e7115 100644
--- a/src/ZeroBin.hs
+++ b/src/Web/ZeroBin.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE DeriveGeneric #-}
-module ZeroBin (
+module Web.ZeroBin (
Expiration(..),
share
) where
@@ -9,8 +9,8 @@ import Data.ByteString (ByteString)
import Data.ByteString.Base64 (encode)
import Data.Maybe (fromJust)
import GHC.Generics (Generic)
-import ZeroBin.SJCL (encrypt, Content)
-import ZeroBin.Utils (makePassword)
+import Web.ZeroBin.SJCL (encrypt, Content)
+import Web.ZeroBin.Utils (makePassword)
import qualified Data.Aeson as JSON
import qualified Data.ByteString.Char8 as C
import qualified Data.ByteString.Lazy as L
diff --git a/src/ZeroBin/SJCL.hs b/src/Web/ZeroBin/SJCL.hs
index fc3aa1b..66f8e29 100644
--- a/src/ZeroBin/SJCL.hs
+++ b/src/Web/ZeroBin/SJCL.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE DeriveGeneric #-}
-module ZeroBin.SJCL (
+module Web.ZeroBin.SJCL (
Content(..),
encrypt
) where
@@ -16,7 +16,7 @@ import Data.ByteString (ByteString)
import Data.Maybe (fromJust)
import Data.Word (Word8)
import GHC.Generics (Generic)
-import ZeroBin.Utils (toWeb)
+import Web.ZeroBin.Utils (toWeb)
import qualified Crypto.KDF.PBKDF2 as PBKDF2
import qualified Data.Aeson as JSON
import qualified Data.ByteArray as BA
diff --git a/src/ZeroBin/Utils.hs b/src/Web/ZeroBin/Utils.hs
index 34871d2..915d8ad 100644
--- a/src/ZeroBin/Utils.hs
+++ b/src/Web/ZeroBin/Utils.hs
@@ -1,4 +1,4 @@
-module ZeroBin.Utils (
+module Web.ZeroBin.Utils (
toWeb
, makePassword
) where