Bitcoin Forum
May 24, 2024, 11:06:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: are public keys case sensitive?  (Read 1118 times)
BitcoinQTlol (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 16, 2014, 03:00:11 PM
 #1

Are private keys case sensitive?

if i was writing down my priv key would i need to make it case sensitive
cr1776
Legendary
*
Offline Offline

Activity: 4046
Merit: 1301


View Profile
March 16, 2014, 03:04:49 PM
Last edit: March 17, 2014, 04:27:57 PM by cr1776
 #2

This will probably answer the questions, but in general, yes:
https://en.bitcoin.it/wiki/Bitcoin_address
https://en.bitcoin.it/wiki/Base58Check_encoding

:-)

(Obviously since they are numbers you can print a key in binary, decimal, hex or other format and it would not be case sensitive, so it depends a lot on the encoding and how it is displayed, but for the default format the above covers it.)
grau
Hero Member
*****
Offline Offline

Activity: 836
Merit: 1021


bits of proof


View Profile WWW
March 16, 2014, 04:55:06 PM
 #3

Are private keys case sensitive?

if i was writing down my priv key would i need to make it case sensitive

The private key is a large number. It is up to you how you encode it. The usual WIF or BIP32 encodings are case sensitive.
ns12123
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 16, 2014, 06:25:42 PM
 #4

It's case sensitive but if you mistyped you will not be able to send it. They will come back
tkbx
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251



View Profile
March 17, 2014, 02:38:12 PM
 #5

Base58 private keys (example: 5Kb8kLf9zgWQnogidDA76MzPL6TsZZY36hWXMssSzNydYXYB9KF) are case sensitive, since the different cases represent different bytes (A is 01000001, a is 01100001).

Hexadecimal private keys (example: 9873D79C6D87DC0FB6A5778633389F4453213303DA61F20BD67FC233AA33262) are not case sensitive (9873D79C... and 9873d79c... are the same exact key, since the letters are actually numbers 10 - 15)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!