Questions tagged [private-key]

in assymetric cryptography, the private key is used to unlock, sign or decrypt

460 questions
5
votes
1 answer

Does a smart contract have a private key?

Does a smart contract have a private key ? Can it send the result of exucuting his code to the other nodes ?
M.CHAIEB
  • 67
  • 1
  • 4
4
votes
2 answers

Creating Ethereum private key from a string

I have a simple string, for example test - and I need to convert it to Ethereum private key 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 What is an algorithm? Which functions should I apply? I want to make it with nodejs.
Molfar
  • 153
  • 6
3
votes
1 answer

How to store a private data in ethereum

My use case is the following: I want to use ethereum to track devices, and device owners. This is easy to do using ethereum and smart contract. But I want to store a secret associated with the device. Is there a way to do this, for instance, by…
tomsoft
  • 168
  • 7
3
votes
1 answer

How can I convert a 24 word seed into a 12 word seed (BIP39)?

The Ethereum wallet app Blockwallet for iOS generates seed phrases with 24 words (BIP39). Using their keytools I am able to get a private key. How do I convert the private key into a 12 word seed phrase that works with Metamask?
neuhaus
  • 163
  • 1
  • 6
3
votes
1 answer

Is it possible to generate a priv key from scratch?

I'm just figuring out how to create my personal keypair in an isolated computer. By this way all the solutions that I've found are installing software from third parties. Even if I choose to use geth, you would need an inet connection to install it…
seph
  • 31
  • 2
2
votes
1 answer

What does it mean when "admin keys have been burnt"?

I've seen multiple times projects on Ethereum that have stated that their "admin keys have been burnt", thus ensuring security to all the users that the developer will not modify/update any existing smart contracts. As far as I know, the private key…
Andrew Tang
  • 61
  • 1
  • 5
2
votes
1 answer

Wallet generator

probably this will be a very stupid question... So be careful :) from eth_account import Account while True: newAccount = Account.create() f = open("File.txt", "a") f.write("\nAddress: " + newAccount.address + "\nPrivate Key: " +…
Giuseppe
  • 185
  • 1
  • 2
  • 9
2
votes
1 answer

How do you generate a private key from a seed phrase?

Without using a library or tool, is it possible to do this in excel for example?
Rayn
  • 65
  • 1
  • 4
2
votes
1 answer

Proof of authenticity without microchips?

If I was looking to "tag" items to prove uniqueness/authenticity, it'd be easiest to register them on the blockchain (public key) and then verify them through signing with the private key, right? It seems the best way to do this would be to hide…
Eric
  • 71
  • 3
1
vote
0 answers

Invalid Private Key Format

Apologies in advance if this is a silly question but I can't figure out why my metamask private key is 66 characters long instead of 64? I'm attempting to use this key with the MakerDao Dai.js library and getting an error of "Invalid Private Key…
node-gode
  • 31
  • 1
1
vote
0 answers

Eth transfer assistance help request

how can i do the transfer from eth wallet address to another eth wallet address? because i have a public eth wallet address with balance within , i dont know how can i transfer the balance in order to use it on purchase.I am trying to to search…
1
vote
1 answer

Generating Ethereum Keys in Terminal

I stumbled across this interesting code on Reddit for generating Ethereum private keys with terminal: cat /dev/urandom |LC_ALL=C tr -dc '0-9a-f' | fold -w 64 | head -n 1 Of course the randomness and everything would be sufficient but is it possible…
Albert Renshaw
  • 239
  • 1
  • 10
0
votes
1 answer

Private key or password for Account that is deployed on remix

I have deployed new contract on remix ethereum got Contract Adress as well as account address but now i want private key or password for my account address how to get that because while creating i have connected with JAVAScript VM for some reason…
0
votes
0 answers

Can i convert my HEX private key to RAW form?

Sorry guys if this is a basic question but i am new to this. I have got my private key only in HEX format. converting to raw and then importing or directly making a wallet using HEX private key. Is it possible?
0
votes
1 answer

How to decrypt private key form keystore file, without using third party applications?

I would like to write a piece of code that takes input as UTC key store file and password, and returns decrypted Private Key. I am aware of options like "MyEtherWallet" but I would like to do using my code. Any help/resources that I can use is…
1
2