Results 1 to 2 of 2

Thread: pgp type encription help

  1. #1

    Thread Starter
    Hyperactive Member Cmdr0Sunburn's Avatar
    Join Date
    May 2001
    Location
    g0t r00t?
    Posts
    461

    pgp type encription help

    im having trouble understanding pgp type encription. from what i read u send out your public key (p*q) and the persion encripting uses a session key that is used to encript the message. then that key is encripted too and sent along with the message. but that would be easy to decpyher, just divide out the public key from the product of the public key and session key and use it to decript. this sounds just as easy as a regular cypher.
    this is what i read from http://www.pgpi.org/doc/pgpintro/
    is it wrong?
    I know a lot oF Vb, expert in C++, and i think in assembly.
    MSVC++6.NET
    vb6
    masm
    Windowz Xp
    I find my self using this a lot in C++

    __asm {
    }

  2. #2
    Addicted Member TheAlchemist's Avatar
    Join Date
    Jan 2003
    Location
    Dar-esSalaam,Tanzania
    Posts
    139
    hey Cmdr0Sunburn,

    i dont know the details of pgp but this is how most public key encryption algos work;
    two large primes are generated
    these are used to compute a key and a cyclic
    a public and private key
    the public key is given to a mutually trusted certificate authority and the private key stays with you.
    the public key is used to encrypt messages and the private key to decrypt them(only the private key can decrypt the msg for now)

    why? because we yet dont have factoring algos good enough to factor the numbers generated from the multiplication of the primes and it would take ages to try out every possible combination(in bits)

    look at this www.securityfocus.com
    Last edited by TheAlchemist; Mar 1st, 2003 at 06:38 AM.
    One thing that sustains me through life is the conciousness of the immense inferiority of everyone else
    --Oscar Wilde

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width