Bitcoin Forum
May 10, 2024, 01:25:32 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?
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



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!