fixed mkPool
This commit is contained in:
parent
4c7cd082dc
commit
648e166110
|
@ -208,8 +208,9 @@ mkPass (x:xs) p = let p' = nextPolicy x p in
|
||||||
else mkPass xs p
|
else mkPass xs p
|
||||||
|
|
||||||
mkPool :: B.ByteString -> String
|
mkPool :: B.ByteString -> String
|
||||||
mkPool s = toB64 hash ++ mkPool hash where
|
mkPool = toB64 . raw where
|
||||||
hash = mkHash s
|
raw x = let x' = mkHash x in
|
||||||
|
x' `B.append` raw x
|
||||||
|
|
||||||
mkSeed :: String -> PWData -> B.ByteString
|
mkSeed :: String -> PWData -> B.ByteString
|
||||||
mkSeed pw d = toUTF8 pw `B.append` (d^.pwSalt)
|
mkSeed pw d = toUTF8 pw `B.append` (d^.pwSalt)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user