huang@tesla:/tmp$ gcc -lssl -o test test.c
test.c: In function ‘main’:
test.c:16: warning: format ‘%d’ expects type ‘int’, but argument 2 has
type ‘size_t’
test.c:24: warning: format ‘%d’ expects type ‘int’, but argument 2 has
type ‘size_t’
huang@tesla:/tmp$ ./test
strlen key is 65
011CDED67F00154D2D3267982073896E5DE8E417BA1366B58D331DB00AD29FDB17
strlen of mod is 66
验证
Run in Common Lisp:
CL-USER> (setf x
#x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef7)
CL-USER> (write (mod (expt #x2 #x512) x) :base 16)
=> 11CDED67F00154D2D3267982073896E5DE8E417BA1366B58D331DB00AD29FDB17
--
黄 澗石 (Jianshi Huang)
http://huangjs.net/
无所谓吧,被读入后是同一个数字。
On 11月12日, 下午1时16分, Jianshi Huang <jianshi.hu...@gmail.com> wrote:
> 2009/11/12 yaoshi lee <liyao...@gmail.com>:
>
> > 猛一看huang@xxxx还以为自己的机器。。。
>
> 莫非你的机器也叫 tesla?
>
On 11月12日, 下午2时39分, lyxmoo <lyx...@gmail.com> wrote:
> 我进来是拜telsa的