Questions tagged [public-key]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
142 views

How to pass in a public key as a string to an action?

I see that public_key is public_key = std::variant<ecc_public_key, ecc_public_key, webauthn_public_key> While ecc_public_key is std::array<char, 33> How would I create a public key ...
Syed Jafri's user avatar
1 vote
0 answers
25 views

Which mobile wallets that let you change your owner and active keys?

What are some android and iOS wallets that let you change your owner and active keys by pasting in the new public key?
Patoshi パトシ's user avatar
1 vote
0 answers
140 views

How can I generate public and private key pairs within the contract

How can I generate public and private key pairs inside my smart contract? Is it even possible to generate key pairs insidet the smart contract?
Nirdesh Kumar Choudhary's user avatar
1 vote
0 answers
160 views

Importing a EOS private key into an Android or iOS wallet

I generated a EOS private key via the command line and would like to import this private key into my Android or iOS. Which mobile wallets support importing of EOS private keys?
Patoshi パトシ's user avatar
1 vote
1 answer
152 views

Smart contract error while calling recover_key

Specs I am using the function recover_key from the library crypto.h at the following link: https://github.com/EOSIO/eos/blob/master/contracts/eosiolib/crypto.h Code int compressed_size = ...
Riccardo Persiani's user avatar
1 vote
2 answers
262 views

Validate if active public key and owner public key is correct

How do i validate if user entered correct active public and owner public key (e.g. length, no forbidden characters entered) using javascript?
Andrew's user avatar
  • 11
1 vote
0 answers
192 views

how to convert eosio::public_key to c public_key?

In the vote.cpp, they use this type of public key: namespace eosio { struct public_key { unsigned_int type; std::array<char,33> data; friend bool operator == ( const ...
Jimmy Guo's user avatar
  • 1,066
0 votes
1 answer
62 views

Creating an account key pair outside of using eosjs

Hello Guys is there any method through which I can create a valid EOSIO key pair without using EOSJS, If that's not possible can any one explain how does eosjs-ecc create those keys and can I ...
Taaha Waseem's user avatar
0 votes
3 answers
743 views

How to convert a key from old to new format?

So I was curious how to do that. I wasn't able to find any tools online to do that.
user5731's user avatar
0 votes
1 answer
143 views

How to encrypt a message using an EOS public key and decrypt with the EOS private key?

I'm not sure if this is possible or not. Can one encrypt a message using their EOS public key and then decrypt this message using their private key? I'm taking the approach of how one would use a PGP ...
Patoshi パトシ's user avatar
0 votes
0 answers
183 views

Generated a EOS public private key pair offline. How do I link an account to it?

I created a EOS public private key pair using eosio.js library and now I want to link this key with an account to make it usable so I can receive funds. How can I do this? And where can I do this? ...
Patoshi パトシ's user avatar