Coin
Forum
Coin
Shop
Coin
Wiki
Editing
Coin.Community - Address Generation
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
'''While we try to use best practices to generate secure keys there is always the possibility of error. For this reason we do not sell funded coins and do not recommend you fund our coins.''' Keys used in the assembled Coin.Community coins are generated on a dedicated offline laptop running liveboot linux. The python script below is used to generate the mini-key formatted keys. They are then printed on a laser printer and placed under the tamper evident holograms as soon as possible. import hashlib from binascii import hexlify as hx import random rand = random.SystemRandom() B58_ALPHA = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" def sha256(s): return hashlib.sha256(s).digest() def gen_candidate(): candidate = "S" for i in xrange(29): candidate = candidate + rand.choice(B58_ALPHA) return candidate def test_candidate(candidate): return sha256(candidate + "?")[0] == chr(0) while True: c = gen_candidate() if test_candidate(c): print c, hx(sha256(c))
Summary:
Please note that all contributions to Coin Community Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Coin Community Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Sections
All Makers
All Releases
Tools
What links here
Related changes
Special pages
Page information