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 NFData EncryptedSecretKey where + rnf (EncryptedSecretKey b _) = rnf b + instance Show EncryptedSecretKey where show (EncryptedSecretKey b _) = show b |