Re: Export Public/Private Keys



Simple benchmark for this:

VS 2005 C compiled (default optimized for speed)
Dell Latitude C800 850 MHz PIII 512 Mb RAM

Based on encyrpt sample here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/example_c_program_encrypting_a_file.aspand using password-based encryption and 3DES encrypt with added IV: 2 Mb file: 0.5 sec 20 Mb file: 5 secNote that the times are overall times including reading file as sample shows.- Mitch Gallant"lelteto" <lelteto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in messagenews:4672B075-8E6C-4027-9496-FB72085B392B@xxxxxxxxxxxxxxxx> Please check actual speed carefully. For most symmetric encryption sending> the data to hw then getting it back is bigger overhead than doing the whole> symmetric encryption / decryption in software. (Yes, you may still get less> CPU utilization; but the actual encrypt speed may just get slower.)>> Laszlo Elteto> SafeNet, Inc.>> "skywalker" wrote:>>> I also forgot to mention in the previous email that I am dealing with a>> symmetric key. This is not a public or private key.>> Thanks,>> Vinay Raghavan>>>> "Jeff Mastry" wrote:>>>> > I managed to get public and private keys exported with PRIVATEKEYBLOB and>> > CryptBinaryToString. Thanks for you help.>> >>> > -Jeff>> >>> > "Mitch Gallant" wrote:>> >>> > > You could use CryptExportKey with PRIVATEKEYBLOB (which holds both>> > > RSA public and private key data) and export it unencyrpted (and manually encrypt>> > > it with any other good application), or you could generate a pswd-derived>> > > session key to wrap that PRIVATEKEYBLOB in symmetric encryption.>> > > Target user of course needs the symmetric key (say a pswd-based key) to decrypt>> > > and import.>> > > No platform or user attachment involved.>> > >>> > > - Mitch Gallant>> > > MVP Security>> > >>> > > "Jeff Mastry" <jmastry@xxxxxxxxxxxxxxx> wrote in messagenews:A64813CA-37DC-4118-942A-FF50C869C01F@xxxxxxxxxxxxxxxx>> > > > Does anyone have an example of exporting/importing RSA public and private>> > > > keys in plain text? Actually, any export method that does not tie the keys to>> > > > a user account or a specific machine would work for me. I just need a key>> > > > file that I can backup and restore on any machine if needed.>> > > >>> > > > I'm usiing C++ and the raw CryptoAPI (CryptExportKey).>> > > >>> > > > Thanks,>> > > > Jeff>> > >>> > >>> > >

.



Relevant Pages

  • Re: First linux system - which hardware?
    ... I was thinking P4 but I am using PIII now and it works great. ... Not a games machine. ... Linksys router I have to connect the Linux box to the DSL, ... I'd like 256 - 512 Megs RAM and a decent videocard. ...
    (comp.os.linux.hardware)
  • Re: xp recommended processor speed
    ... is always a good idea to run the compatibility test before upgrading ... > I am currently running XP Pro on a PIII 800 MHz laptop with no problem. ... The machine is a Sager Midern brand and does have 256 MB RAM. ... >>I currently am running 98se on a PIII 750 Sony laptop. ...
    (microsoft.public.windowsxp.hardware)
  • Re: What kind of computer do you read RGP on?
    ... I primarily run Vista Ultimate on my everyday machine (Dell Latitude D620, Dual Core, 2GB RAM), but run XP ... on my desktop (another Dell, 3 GHz hyperthreaded, 4 GB RAM), and run a mix of XP and 2000 on several other PCs I have for various purposes - for example, my chip burning machines run 2000 as the software is more stable on 2k. ...
    (rec.games.pinball)
  • Re: Installing FreeBSD on old comp
    ... I can upgrade the RAM a bit. ... I'm currently building my new server on a spare PIII 450Mhz 128mb ram ... Yes you can use something like putty to ssh into your server and work on ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Mysterious Performance problem with CorelDraw12
    ... > Was running CorelDraw12 on a new Dell Latitude D600, WinXP, with half a GB ... > that much of the available RAM was NOT being allocated to the program. ... > CD12 was paging to disk - which was where my lag-time was coming from. ...
    (comp.graphics.apps.corel)