In a console, I use this command :
uuencode -m /dev/null
I get prompted (with an empty line) for my input, I type the following and then the [ENTER] key :
wi-dw753
I get the follwing result
d2ktZHc3NMTK
When I use WIN’s powershell, I get d2ktZHc3NMT= (equal sign instead of K at the end), which works in the application which uses that expression. The one with the “K” at its end will not work.
PS C:\Users\sander-sar> [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(“wi-dw753”))
Is that a bug or did I miss something wehen typing the command or setting op my console ?
I fixed the typo.
You’re right when you include the newline character. Only “d2ktZHc3NTM=” lets me log into my mailaccount, whereas “d2ktZHc3NTMK” will not.
Anyway, now I know where I have to take care whenever I change my password. Thank you for your help !
when I type uuencode -m /dev/null I am prompted for input with an empty line. I type “wi-dw753” (without the quotation marks), then I hit the ENTER key.
The result is : d2ktZHc3NTMK
I read I should add a newline character after “wi-dw753”, but I don’t know how to do that (any ’ or \ in combination with a printable character just converts that too, instead of adding a newline here).
I’m willing to write some small code for compilation, which doesn’t seem to be much work, but I’m still curious to do the job from the command line.
The ‘echo’ command did not work.
I guess I’ll better try and write/compile something in C oder C++, the internet is full of code. Copying the file and making it executable is two more steps, but it’ll save our precious time here.
The output looks a little weird, but when I type “echo -n wi-dw753 | uuencode -m /dev/null” I get the same output that WIN Powershell or internet converters give.