Skip to content
Snippets Groups Projects

Missing ScryptParams bug

Closed inso requested to merge zicmama:patch-2 into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
import getpass
from duniterpy.key import SigningKey
from duniterpy.key import SigningKey, ScryptParams
################################################
@@ -12,7 +12,7 @@ if __name__ == '__main__':
password = getpass.getpass("Enter your password: ")
# Create key object
key = SigningKey(salt, password)
key = SigningKey(salt, password, ScryptParams(4096, 16, 1))
# Display your public key
print("Public key for your credentials: %s" % key.pubkey)
Loading