在C中操作大量数字 [英] Manipulating with large numbers in C

查看:83
本文介绍了在C中操作大量数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是网络安全研究学生Halid Umar。我会解释

我的情况,如果可以,请给我提示。我期待你们的回复。


*我必须在

加密应用程序中处理超过64位的数字,如128位。


*例如,如果我想添加两个128位数字,我该怎么办?

C.


*请解释请给我一个例子。


希望尽快读完你。


问候,

Halid Umar AM

Hi All,
I m Halid Umar, network security research student. I will explain
my situation and give me hint if you can. I expect reply from you all.

* I have to handle numbers that have more than 64 bit like 128bit in
cryptography applications.

* For example, if i want to add two 128 bit numbers what should i do in
C.

* Please explain me with example please.

Hope reading you soon.

Regards,
Halid Umar A.M

推荐答案

Halid Umar AM说:
Halid Umar A M said:
大家好,
我是Halid Umar ,网络安全研究生。我会解释我的情况,如果可以,请给我提示。我期待你的回复。


如需了解您的信息,我希望大家回复让它听起来像你好b / b
是老板,我们是你的仆人,我们必须做你说的话。我知道

你不是故意听起来那样的。我建议你避免使用期待

回复等字样。


我也建议您对请这个词进行一些研究。 。

*我必须在加密应用程序中处理超过64位的数字,如128位。

*例如,如果我想添加两个128位数我应该怎么做
C.


要么使用现有的bignum库:

http://www.gnu.org/software/gmp/ (GMP)
http://indigo.ie/~msco​​tt/ (Miracl)


或自己编写。

*请以示例解释我。
Hi All,
I m Halid Umar, network security research student. I will explain
my situation and give me hint if you can. I expect reply from you all.
For your information, "I expect reply from you all" makes it sound like you
are the boss, we are your servants, and we have to do what you say. I know
you don''t mean to sound like that. I suggest you avoid the words "expect
reply".

I recommend, also, that you do a little research into the word "please".
* I have to handle numbers that have more than 64 bit like 128bit in
cryptography applications.

* For example, if i want to add two 128 bit numbers what should i do in
C.
Either use an existing bignum library:

http://www.gnu.org/software/gmp/ (GMP)
http://indigo.ie/~mscott/ (Miracl)

or write your own.
* Please explain me with example please.




啊!你看?你知道这个词。 :-)


-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)



Ah! You see? You do know the word. :-)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


你好Mr.Richard,

我真的很抱歉我为这个问题设定了句子。

因为我不是母语英语,所以我没有尊重错误的句子

。真的,我不是那个意思。请为我道歉

因为我的英语不好。我也在提高英语水平。


感谢您的快速回复,我很抱歉。


Halid Umar

Hello Mr.Richard,
I am really sorry for the sentence i have framed for the question.
As I am not a native speaker of English, I framed wrong sentence
without respect. Really I didnt mean in that way. Please apologise me
for my bad english. I am also improving my english.

Thanks for your quick response and again i am sorry for that.

Halid Umar


Halid Umar AM说:
Halid Umar A M said:
你好Mr.Richard,
我真的很抱歉我的判决框架的问题。
Hello Mr.Richard,
I am really sorry for the sentence i have framed for the question.




无需道歉。我没有被冒犯。我只是想帮助你

避免让一些更敏感的灵魂在这里冒犯。


无论如何,就像我说的,你要么GMP,Miracl,或者充足的时间和

咖啡。 :-)


-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)



No need to apologise. I was not offended. I was just trying to help you to
avoid giving offence to some of the more sensitive souls in here.

Anyway, like I said, you want either GMP, Miracl, or plenty of time and
coffee. :-)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


这篇关于在C中操作大量数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆