diff options
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,9 @@ newtype SecretKey = SecretKey B.ByteString -- | The secret key, encrypted with a password. data EncryptedSecretKey = EncryptedSecretKey B.ByteString (CostCalc BruteForceOp UnknownPassword) +instance Show EncryptedSecretKey where + show (EncryptedSecretKey b _) = show b + instance Bruteforceable EncryptedSecretKey UnknownPassword where getBruteCostCalc (EncryptedSecretKey _ cc) = cc |