View previous topic :: View next topic |
Author |
Message |
Jointy Tux's lil' helper
Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Tue Aug 22, 2006 3:03 pm Post subject: confused prompt after hashalot sha512 |
|
|
Hy @ll,
before I will open a bug report I want to ask if this is a known error.
as passphrase enter the word "test"
Code: |
plato ~ # hashalot sha512
Enter passphrase:
î&°ÝJ÷çIªãÁ
²≥Á
ø áÕøO¼Öπ72ÃÌ_©⎺Wõ (¨ÿ⎻┌▒├⎺ · #
⎻┌▒├⎺ · #
|
_________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Tue Aug 22, 2006 6:03 pm Post subject: |
|
|
Try that (same passphrase):
Code: |
$ /usr/sbin/hashalot sha512 -x
Enter passphrase:
ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff
|
edit:
explanation:
man hashalot wrote: |
If the -x option is given then the hash will be printed as a string of
hexadecimal digits.
|
|
|
Back to top |
|
|
Jointy Tux's lil' helper
Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Wed Aug 23, 2006 11:46 am Post subject: |
|
|
I knew that, too
But that wasn't my question. I wanted to know why this happens without the "-x" parameter.
I think that the returned string has control characters for the term to set new font or something else.
What is the right answer ???
regard
Jointy _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Wed Aug 23, 2006 12:57 pm Post subject: |
|
|
Jointy wrote: | I think that the returned string has control characters for the term to set new font or something else. |
You're right. I think it may be useful if you want to get a raw string of bytes in your program. It's probably not intended to be used in a shell. Anyway I wouldn't call it a bug. |
|
Back to top |
|
|
|