Bitcoin Forum
May 04, 2024, 04:34:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum Encrypted format  (Read 152 times)
ulhaq (OP)
Sr. Member
****
Offline Offline

Activity: 503
Merit: 286


View Profile
October 13, 2017, 09:17:35 PM
 #1

It looks like the encrypted seed is encoded in base64 and always starts with the same few characters and ends in an equal sign, is this right? Will it always be the same number of characters?
1714797290
Hero Member
*
Offline Offline

Posts: 1714797290

View Profile Personal Message (Offline)

Ignore
1714797290
Reply with quote  #2

1714797290
Report to moderator
1714797290
Hero Member
*
Offline Offline

Posts: 1714797290

View Profile Personal Message (Offline)

Ignore
1714797290
Reply with quote  #2

1714797290
Report to moderator
1714797290
Hero Member
*
Offline Offline

Posts: 1714797290

View Profile Personal Message (Offline)

Ignore
1714797290
Reply with quote  #2

1714797290
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714797290
Hero Member
*
Offline Offline

Posts: 1714797290

View Profile Personal Message (Offline)

Ignore
1714797290
Reply with quote  #2

1714797290
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10537



View Profile
October 14, 2017, 04:28:25 AM
 #2

it is encoded in Base64 but it doesn't always start with the same few characters and it doesn't nessaasrily end with an "=".
the equal sign (=) is for padding.

from Wikipedia:
"The final '==' sequence indicates that the last group contained only one byte, and '=' indicates that it contained two bytes."

you can see the examples there for more information.

this can also be helpful: https://stackoverflow.com/questions/4080988/why-does-base64-encoding-require-padding-if-the-input-length-is-not-divisible-by

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!