Updates from July, 2011 Toggle Comment Threads | Keyboard Shortcuts

  • CG 8:09 pm on July 17, 2011 Permalink | Reply
    Tags: , , , , ,   

    Coding with iPad: still cannot resolve multiple files 

    I loaded my recent code from Dropbox to CodeToGo:

    And it didn’t work because it needs multiple file to compile 🙂


    So my PERL code loading text files didn’t work either. Only single-file code works.

    Is there any way to compile multiple files, with CodeToGo, or other apps in iPad?

  • CG 3:29 pm on July 17, 2011 Permalink | Reply
    Tags: , , , printscreen   

    Writing and Running Codes with iPad 

    CodeToGo for iPad works well, I like it 🙂 Here are some screenshots:

    Code in C:

    Code in Java:

    CodeToGo supports many more languages:

    And also PERL! 🙂


    1. The compiling is done by a linux server, so to run codes in iPad, it has to be connected to the internet.
    2. Printscreen on iPad is by pressing home button and power button at the same time until you hear the sound “click” and then check the saved photos folder. You can send the pic to email, sync or share it, like any other picture.
    3. CodeToGo can be used in integration with Dropbox 🙂
  • CG 3:18 pm on July 13, 2011 Permalink | Reply
    Tags: , ,   

    Setting up curves with different numbits for ElGamal 

    This book and the software is very useful for doing experiments of encrypting using elliptic curve cryptography. I’ve been reading some thread with questions on how to change curve parameters, and here’s how:

    To change the number of bits, you have to set it in field2n.h

    Choose the polynomial irreducible in polymain.c

    Set the message to be encrypted in elgamal.c (important note: the length of the message depends on the numbits of the curve)

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc