Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (780)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (857)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  RSA encryption tool  (Read 3906 times)
0 Members and 1 Guest are viewing this topic.
Offline lcass
« Posted 2014-08-22 21:56:58 »

So , I got bored today and I am into building crypto-systems , this is probably because I enjoyed building and then dos-ing my friends. After this I got interested into how data was stored in encryption , I developed a very basic version that just encrypts files with a 6 digit code , not difficult to crack but it built up my skills for converting text in this format.
Now , java , this is not the language really to code RSA into . Mainly because its difficult to allocate 1024 bits of memory easily, so instead I used a long , 64 bits but still pretty large.
Next came the problem of the horrifically complicated maths involved with RSA encryption , tonients , modulo , inverse multiplicative modulo. Anyway after finding some code that handles the inversemodulo on a forum from 2007 I was able to build some similar code that returns the required value of x from the extended IMM function , ax + by = GCD(a,b).
A brute force attack on the encrypted data in the current way im using it would probably require more than 3- 4 hours of running to calculate the actual data , this is because the encryption keys are low , simply because any larger and the value flips negative. <---download!

So , here is an example of its work .
Hello there I am called lcass and this is a brief story of my entire life , I wonder if you will like this s it took quite a while to write.
So it started out with me being born , as it does with most people . The first few years were a blur this is due to the fact I fell down the stairs at the age of two or three , I cant really remember
All I remember is falling down those stairs and screaming. After that I went to my primary school , dont worry stalkers noone will know where I went because I wont tell you. However I did
throw a clay helicopter at a teachers head then I got kicked out. I then went to a different school and met my best friend , those were easily the best years of my early life. No im in secondry school
, I am entering year 11 , the first year and second year of secondry school were horrific , both went horribly wrong but they are were I got into programming . Now im at the age where im so far away from the
previous events of my life that I am doubting wether they actually happened , its an odd sensation . Anyway I got bored on the second to last friday of my school summer holiday and created an RSA encryption program

The original information

and the encrypted info.

Make sure to note down your keys , send the public key to someone. Get them to encrypt it using that key, then you can unencrypt it using the private key.
Offline Cero
« Reply #1 - Posted 2014-08-23 16:23:43 »

Easy to use crypto is nice.

However cannot run it, because you have Java 8 and this requires minimum of 8 because of that.

I actually hate that every project should default to minimum of 6 imo, until you use something that is 7 or 8 specific and then throw the error, but yeah...

Actually havent upgraded to 8

Pages: [1]
  ignore  |  Print  

hadezbladez (745 views)
2018-11-16 13:46:03

hadezbladez (383 views)
2018-11-16 13:41:33

hadezbladez (735 views)
2018-11-16 13:35:35

hadezbladez (194 views)
2018-11-16 13:32:03

EgonOlsen (2393 views)
2018-06-10 19:43:48

EgonOlsen (2556 views)
2018-06-10 19:43:44

EgonOlsen (1482 views)
2018-06-10 19:43:20

DesertCoockie (2145 views)
2018-05-13 18:23:11

nelsongames (1949 views)
2018-04-24 18:15:36

nelsongames (2629 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!