[Microid] MicroID Python code + comments on the spec
Paco NATHAN
ceteri at gmail.com
Wed Jan 3 16:35:32 EST 2007
you could get rid of newlines from a shell command by using "tr", like this:
paco$ (echo "xmpp:stpeter at jabber.org" | openssl dgst -sha1; echo
"https://www.xmpp.net/" | openssl dgst -sha1) | tr -d "\n\r" | openssl
dgst -sha1
876406a259a424028444755381a83f14a8e04bd0
paco
On 1/3/07, Peter Saint-Andre <stpeter at jabber.org> wrote:
> Erk, I don't see how to remove the newline from my files and when I run
> openssl at the command line with stdin I get the same result (because I
> need to hit return in order for it to give me output).
>
> Eran, could you send me the intermediate output as well?
More information about the Microid
mailing list