So I am new to Javascript and I wanted to use localStorage to access a previously generated private key, parse that value and generate a public key from it in a separate fun