473,287 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

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

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

Nov 15 '05 #1
3 1393
"Crypto Loko" <cr**************@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr 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
Nov 15 '05 #2
"Alexei A. Frounze" <al*****@chat.ru> wrote in message
news:3q************@individual.net...
....
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
Nov 15 '05 #3
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

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Manfred Schwab | last post by:
Hi there, which versions of python are usable under MS-DOS 5.0 oder 6.22 or Dr. DOS. I want to use it under a industrial environment to collect measuring data like temperature, moist and...
2
by: bithead | last post by:
How do you invoke a MSDOS program from C#.net program? system("dir"), shell("dir") don't work. What else is there?
1
by: Philip M. Fleischmann | last post by:
Hi, i have to convert raw MSDOS-OEM-character set text files (codepage 430) to standard windows ANSI character set for file I/O in C# (batch conversion). Can anyone help me how this can be...
24
by: tizi_de | last post by:
Hello all, I'm looking for a sample program in C to print out lines not to the standard MS Dos Box but into a different control e.g. text control. Has C the possibility to do printouts to a...
4
by: totleben | last post by:
I want working some msdos command with C#. I want works this codes in C#. If click buton1 before start cmd after working this code after close cmd. How to build this code in C# ? netsh>pushd...
2
by: dac9901 | last post by:
Hi Everyone, I have a batch file that opens several programs as shown below: *********** rem Open Desktop Weather "C:\Program Files\The Weather Channel FW\Desktop Weather\DesktopWeather.exe"...
0
by: rao123 | last post by:
Hi, I want to execute some set of Postgres routines like psql,pg_dump,pg_restore in a single MSDos batch file. I want to prompt user only once for password and use that in entire batch file with...
2
by: Poonam G | last post by:
I need to call oracle meta data tables using MS DOS, and then proceed with the execution of the MS DOS batch files as per the out put from oracle tables. Please let me know if any inputs are there...
7
amitpatel66
by: amitpatel66 | last post by:
Hi, I have formatted my C: drive in which WIN98 was installed. I have a bootable floppy and I booted my machine using this floppy. When I run SETUP (EXE) from WINXP CD, it says: "The SETUP...
1
by: JOHNSHELL08 | last post by:
What is the difference between pc dos & msdos ?
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.