Closed Thread
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Encryption using Random!?

  1. #11
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    So because the random number is in the encrypted message it's self it is automatically the public key?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #12
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    Quote Originally Posted by TheComputerMaster View Post
    So because the random number is in the encrypted message it's self it is automatically the public key?
    No, I just chose the random number as the public key because it just seems more public than the 66. Your method isn't exactly how public key encryption works.

  4. #13
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    Hmm I kinda understand but still a little confused, thanks for the little clarification

  5. #14
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143
    Quote Originally Posted by TheComputerMaster View Post
    What do you mean?
    In your original message, you had the following:

    A -> (ASCII*66)+random number

    A = 65
    Random = 125
    Intermediate code: (65*66)+125=4415

    Final code: 1454152

    At this point, you have embedded 125 into the final code in a predictable way, making recovery of the original value easy.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #15
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143
    Dual key encryption works by using some tricks from number theory related to prime powers. It is NOT for the mathematically faint of heart!
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using a random function to generate another random funtion
    By Roger in forum General Programming
    Replies: 11
    Last Post: 08-23-2010, 08:07 AM
  2. "random" number generator is not random?
    By schwza in forum PHP Development
    Replies: 1
    Last Post: 06-04-2010, 01:58 AM
  3. XoR Encryption
    By DanSpd in forum C# Programming
    Replies: 0
    Last Post: 02-13-2010, 10:29 AM
  4. Encryption
    By TALucas in forum Java Tutorials
    Replies: 7
    Last Post: 04-06-2009, 04:19 AM
  5. Wi-Fi Encryption
    By TcM in forum Technology Ramble
    Replies: 6
    Last Post: 02-26-2008, 03:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

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