Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

Reply
Thread Tools

MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

 
 
Crypto Loko
Guest
Posts: n/a
 
      10-02-2005
Hello everyone,

I was wondering if anyone should have any
TC++ v3.0 / BC++ v3.1, or DJGPP v2.03 code
for RSA implementation (or similar
public-key scheme(s)) - of either a module,
a library, or even a small program?

I have tried an old version of RSAREF
(I believe it was v1.0) with TC++ v3.0,
but it wouldn't compile.

I have tried Crypto++ Library v5.2.1, but
that one wouldn't compile either.

Maybe I'm doing something wrong? I'm not
very familiar with compiler flags or
other settings, of either Borland or DJGPP.

Regardless, my goal is to be able to write an
MSDOS-based utility that would offer
the following functions:

1.) Generate a large secret/public key pair;

2.) Encrypt / decrypt a file, using a secret/public key;

3.) Sign / verify a file, using a secret/public key.

Anything useful would be greatly appreciated,
Thanks in advance,
Luke

 
Reply With Quote
 
 
 
 
Alexei A. Frounze
Guest
Posts: n/a
 
      10-02-2005
"Crypto Loko" <> wrote in message
news: oups.com...
> I was wondering if anyone should have any
> TC++ v3.0 / BC++ v3.1, or DJGPP v2.03 code
> for RSA implementation (or similar
> public-key scheme(s)) - of either a module,
> a library, or even a small program?


Well, this group is about the things prescribed by the C standard and for
some reason the C language standard doesn't contain a single word about the
aforementioned compilers nor the software you're talking about. If you
posted a C problem (e.g. a bit of C code with your questions about its
correctness or behavior), it would be OK. But what you're coming with is
better be sought elsewhere, say on google.

> I have tried an old version of RSAREF
> (I believe it was v1.0) with TC++ v3.0,
> but it wouldn't compile.


Which means that either that particular code isn't portable enough or the
compiler isn't good enough. But we don't know since you haven't shown a bit
of the code, a real problem that is *in* the scope of the standard C, with
which you'd probably be pleased to help you out.

Alex


 
Reply With Quote
 
 
 
 
Alexei A. Frounze
Guest
Posts: n/a
 
      10-02-2005
"Alexei A. Frounze" <> wrote in message
news:...
....
> Which means that either that particular code isn't portable enough or the
> compiler isn't good enough. But we don't know since you haven't shown a

bit
> of the code, a real problem that is *in* the scope of the standard C, with
> which


*we'd*

> probably be pleased to help you out.


Alex


 
Reply With Quote
 
Crypto Loko
Guest
Posts: n/a
 
      10-16-2005
Ok,

Thanks for the insight.

See, the reason I have NOT posted any code
in here was, that I didn't know how much of it
(at most) would be considered good manners.

Unless, of course, you were to tell me that posting
a block of code that, however long, is compilable
the first time out (simply via copy & paste to one's
IDE's editor) - and then by looking at the compiler's
messages (to be generated) one could tell what is
wrong with that code.

Crypto

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
one time rsa scheme? issoho@gmail.com Computer Support 2 05-21-2007 03:45 PM
Should this substitution be compilable? valentin tihomirov VHDL 12 11-30-2004 03:44 PM
Implementing .net RSA on the server *and* JavaScript RSA on the client gg ASP .Net 0 11-18-2004 10:29 PM
Who can resist a compilable example? - JComboBox VisionSet Java 3 09-02-2004 05:35 AM
Any small program in c++ compilable with gnu gpp compiler Robert Bralic C++ 4 07-19-2004 10:13 PM



Advertisments