Optional
ncryptsecOptional
unlockLocks the signer by removing the unencrypted key from memory
Protected
requestSets the ncryptsec from the key and password
Tests if the provided password is correct by decrypting the ncryptsec
Unlocks the signer by decrypting the ncryptsec using the provided password
Static
fromCreates a PasswordSigner from a ncryptsec and unlocks it with the provided password
Optional
password: stringStatic
fromCreates a PasswordSigner from a hex private key or NIP-19 nsec and password
A NIP-49 (Private Key Encryption) signer