Here it is: a simple Big Number library for unlimited use (Public Domain). Please make as many copies as you like, rip it, change it, enjoy it!

It's complete with source, Type Library, VB Test project, short english help, all what you need for Ketil's superb RadASM.

Have a look at the Algo-Thread, too, because it has been developed for a very special task. There is another BNLib in arrival (BCD encoded), which has been used mainly for verifying the single steps of the RSA research and gives a human (and decimal) feedback to big number calculations. I'm sorry I can't attach it today, I've to write first some help in english.

Giovanni

PS: Thanks a lot for the latest feedback. :)

It's complete with source, Type Library, VB Test project, short english help, all what you need for Ketil's superb RadASM.

Have a look at the Algo-Thread, too, because it has been developed for a very special task. There is another BNLib in arrival (BCD encoded), which has been used mainly for verifying the single steps of the RSA research and gives a human (and decimal) feedback to big number calculations. I'm sorry I can't attach it today, I've to write first some help in english.

Giovanni

PS: Thanks a lot for the latest feedback. :)

No attachment :)

Can he get a drum roll please... :tongue:

No attachment :)

HOW COULD THIS HAPPEN??? :(

There was no error message, everything ok?

I try again here.

Giovanni

YES.

Perhaps your attachment problem was the 'preview post' thingy?

Iirc it forgets about your attachments if you preview posts, or something

like that.

Iirc it forgets about your attachments if you preview posts, or something

like that.

**Giovanni**, looks like a solid design, but slow as all hell for what your using it for. :) Your knowledge of MASM seems really good - very pretty code.

you should do sqrt function . and sqr function .

maybe even x^(2n)

bye

eko

maybe even x^(2n)

bye

eko

you should do sqrt function . and sqr function .

maybe even x^(2n)

Please give me an example how *you* would solve a simple sqrt, sqr and x^(2n) function with (D)WORD integers. I like to see how others do.

For example: eax = SQRT(100) (...)

Giovanni

**Giovanni**, looks like a solid design, but slow as all hell for what your using it for. :) Your knowledge of MASM seems really good - very pretty code.

Thanx. You make me flush.

You're right, it's terribly slow. But it flashing fast for what I am using it for (only adding and multiplying is required).

Giovanni

Here is the other library. It's not that cured as the BinLib, but has a big advantage: No special converting is required.

Public domain, and this time I try not to fail with the upload :)

Giovanni

Public domain, and this time I try not to fail with the upload :)

Giovanni

Please give me an example how *you* would solve a simple sqrt, sqr and x^(2n) function with (D)WORD integers. I like to see how others do.

I suggest you to have a look at "High Speed RSA Implementation" by Cetin Kaya Koc (RSA Laboratories) - (oh no, that nasty R-word again... ;) )

Ok, this one is much better and makes it completely unnecessary to use the BCDLib :)

There are many new functions (bit manipulation, sqrt, n!) and many became flashing fast (compared to the first release).

Have fun,

Giovanni

There are many new functions (bit manipulation, sqrt, n!) and many became flashing fast (compared to the first release).

Have fun,

Giovanni