OptionalncryptsecOptionalunlockLocks the signer by removing the unencrypted key from memory
ProtectedrequestSets 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
StaticfromCreates a PasswordSigner from a ncryptsec and unlocks it with the provided password
Optionalpassword: stringStaticfromCreates a PasswordSigner from a hex private key or NIP-19 nsec and password
A NIP-49 (Private Key Encryption) signer