diff options
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,7 +34,9 @@ newtype StorableObjectIdent = StorableObjectIdent B.ByteString deriving (Show) -- | A shard, with a known number (N of M). -data Shard = Shard Int StorableObject +data Shard = Shard ShardNum StorableObject + +type ShardNum = Int -- | A password used to encrypt a key stored in keysafe. newtype Password = Password B.ByteString |