Bitcoin Forum
November 18, 2024, 07:25:53 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum Encrypted format  (Read 170 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?
pooya87
Legendary
*
Offline Offline

Activity: 3640
Merit: 11039


Crypto Swap Exchange


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

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!