fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

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

This is a discussion on MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme - MS-DOS ; Hello everyone, I hope this is the right place for this question; if not, please refer me to the right one. Thanks. ---------------------------- I was wondering if anyone should have any BP v7.0, BC++ v3.1, FPK v1.10 or DJGPP code ...


Fix Unix > Microsoft Windows > MS-DOS > MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

Reply
 
LinkBack Tools
  #1  
Old 10-01-2007, 05:54 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme


Hello everyone,

I hope this is the right place for
this question; if not, please refer
me to the right one. Thanks.
----------------------------

I was wondering if anyone should have any
BP v7.0, BC++ v3.1, FPK v1.10 or DJGPP code
for RSA implementation (or some other
public-key scheme(s)) of either a unit
(or module) or even a small program?

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
  #2  
Old 10-01-2007, 05:54 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

Crypto Loko wrote:
> Hello everyone,
>
> I hope this is the right place for
> this question; if not, please refer
> me to the right one. Thanks.
> ----------------------------
>
> I was wondering if anyone should have any
> BP v7.0, BC++ v3.1, FPK v1.10 or DJGPP code
> for RSA implementation (or some other
> public-key scheme(s)) of either a unit
> (or module) or even a small program?
>
> 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
>

Any of the generic source code in c++ or c will work with msdos with
very little modification. Google is your friend.

for example:
http://www.laynetworks.com/rsa_c.txt
http://www.thefreecountry.com/source...cryption.shtml

There is lots of source code for the common algorithms.

The main things that will need to be considered when porting:
1. I/O - not much change if using the standard run-time library
2. DOS's 64Kb default segment size when handling arrays longer than 64Kb.

Alex Russell
Reply With Quote
  #3  
Old 10-01-2007, 05:54 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

"I was wondering if anyone should have any
BP v7.0, BC++ v3.1, FPK v1.10 or DJGPP code
for RSA implementation (or some other
public-key scheme(s)) of either a unit
(or module) or even a small program?"

16-bit: Problems with memory

32-bit: should work fine.
"caddit" ported GNU-PG to DOS
with DGJPP:

http://www.caddit.net/programming.php

Download is broken, I reported this fact
but no reaction up to now ... :-(

Reply With Quote
  #4  
Old 10-01-2007, 05:54 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

Hi!

It is a problem of the webspace. I also couldn't download anything from
the page. But a friend had no problem...

Bye, Flo


FreeDOSfan wrote:
> "I was wondering if anyone should have any
> BP v7.0, BC++ v3.1, FPK v1.10 or DJGPP code
> for RSA implementation (or some other
> public-key scheme(s)) of either a unit
> (or module) or even a small program?"
>
> 16-bit: Problems with memory
>
> 32-bit: should work fine.
> "caddit" ported GNU-PG to DOS
> with DGJPP:
>
> http://www.caddit.net/programming.php
>
> Download is broken, I reported this fact
> but no reaction up to now ... :-(
>

Reply With Quote
  #5  
Old 10-01-2007, 05:54 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme

Mr. "caddit" is obvioulsy dead, so I uploaded
the source (I had downloaded it long time ago):

www.mysoftware.cjb.net

I had thought that I had the EXE also, but I can't
find it now, so no EXE available :-(

Reply With Quote
  #6  
Old 10-01-2007, 05:54 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme


Hi FreeDOSfan,

Did you mean I sould download the
file via the link titled GnuPG 1.41 for DJGPP / DOS / Windows
about mid-page down, at http://www.caddit.net/programming.php ?

Because the link properties, while "pretending" to link to a ZIP file,
only pop out a dialog box asking to save a "download.php" file.

However, if you do a simple search on the net you might find
two interesting sites, which I'm sure you're familiar with:
1. www.gnupg.org
2. www.pgpi.org

Now, on the GnuPG site, specifically on a page detailing the
Supported Systems for this software (check it out at
(http://www.gnupg.org/(en)/download/s...d_systems.html),
I have NOT found a "DOS" keyword anywhere on that page.

On the other hand, the PGPi site claim that THEIR GnuPG version
is actually MSDOS-compatible (offered as GnuPG 1.2.2 source code)
but I haven't had the time to attempt compilation yet. Maybe you
already
know, whether this one (GnuPG 1.2.2) is compilable using DJGPP v2.03 ?

Wondering,
Crypto

Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSL FIPS module doesn't support RSA public-key encryption scheme? unix Openssl 0 10-07-2007 08:07 PM
Re: OpenSSL FIPS module doesn't support RSA public-key encryption scheme? unix Openssl 0 10-07-2007 08:07 PM
RE: OpenSSL FIPS module doesn't support RSA public-key encryption scheme? unix Openssl 0 10-07-2007 08:07 PM
Just how bad is this DNS-based spam-deviation scheme? unix TCP-IP 2 10-02-2007 09:57 PM
MSDOS-Based Compilable Code for RSA / Other Public-Key Scheme unix MS-DOS 2 10-01-2007 04:22 AM


All times are GMT. The time now is 09:45 PM.