The way I want to login is – by remembering my passwords. Since nostr requires your secret key nsec to login, which is a long hex number, An easy way to do that it would be to create a long phrase that i can remember/retieve, and then SHA256 it. Also since I would like to use a Signer like NOS2x on my desktop browser, and Amber bunker on my android mobile; I will just put in the SHA256 in nos2x, which immediately creates the nsec key. This means I can have any number of passwords that I can remember, or maybe simply write down openly in a way that others can’t use it directly for the SHA256.
How to sha256?
In a command line, run the command:
For Windows:
certutil -hashfile [file location] SHA256. For example: certutil -hashfile C:\Users\user1\Documents\myseedphrase.txt SHA256
For Linux:
sha256sum [file location]. For example: sha256sum ~/Documents\myseedphrase.txt
For Mac OS:
shasum -a 256 [file location]. For example: shasum -a 256 ~/Documents\myseedphrase.txt