Re: I can has SHA-1 hashes for RFC 2409/3526 MODP groups?
Kurt Roeckx <[email protected]>
| Newsgroups | gmane.ietf.tls,gmane.ietf.secsh |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Mar 07, 2014 at 06:18:11PM -0500, Mouse wrote: > > However, if you add 18 more 0s to the long string of them (which the > formatting makes it look likely got dropped in whatever produced the > weird line breaks above - if I add 18 more 0s and paste the first two > lines together, the result is exactly as long as the next five lines), > that _is_ 2^2048 - 2^1984 - 1 + (2^64 * 124476). That is, it's what > you get if you take pi to be 0. I suspect your bc didn't recognize the > character string "pi" and treated it as an unset variable or some such, > effectively replacing it with 0. If you want pi in bc, you need to start bc with the -l option and do: pi=4*a(1) Kurt