tsukikage: (Default)
[personal profile] tsukikage
HASH(0x8d653c0)
Polymorphous Light Eruption.Put down the sun you

fool!


Which disease are you?
brought to you by Quizilla


You know what I hate? Just KNOWING that you're totally screwing something up:
;;; Step 3

(define base 11)
(define prime 99991)

; Fill your secret key in here
(define my-secret 1985)

; Procedure to compute public key from secret key
; Should return: (base ^ secret) mod prime
; Hint: Use the expmod function defined above.
(define (make-public base secret prime)
(expmod base my-secret prime)
)

(define my-public (make-public base secret prime))

They can't possibly want us to do something so... Redundant.

[EDIT: Yay! I finished lab two successfully! That bit of redundancy might get me docked on style, but the program works, so... But I just realized... I need to comment this thing... Ugh.]

So Close

Date: 2006-02-09 06:26 am (UTC)
From: [identity profile] idkrash.livejournal.com
I couldn't find the C++ one, but here you go.

http://newjava.ytmnd.com/


Gongrats!

Re: So Close

Date: 2006-02-09 06:28 am (UTC)
ext_12881: DO NOT TAKE (Default)
From: [identity profile] tsukikage85.livejournal.com
That's so random... ^_^;
In case you think what I wrote is C++, it's actually Scheme, which is a dialect of LisP

Re: So Close

Date: 2006-02-09 06:34 am (UTC)
From: [identity profile] idkrash.livejournal.com
Oh, .... right Scheme with the Base and the ) yeah... lust like LisP

sure .... I see it now.



Can you tell I have n03 (lu3?

Re: So Close

Date: 2006-02-09 11:28 am (UTC)

Date: 2006-02-09 11:43 pm (UTC)
From: [identity profile] angrykeyboarder.livejournal.com
So much for me being a geek...

BTW as you may have noticed, I've neglected the hell of LJ over the past year. As a result a bazillion people removed me from their friends list during that time (I'm sure mostly due to the fact that I rarely posted to my own and never commented on their LJs). But I've I've got 5 bazillion left. And I'd spend 24/7 on LJ if I tried to read them all.

So, I've decided to just use my friends list as a reference and read the LJs of people I want to keep up with via RSS feeds (http://www.livejournal.com/support/faqbrowse.bml?faqid=149). I use RSS feeds for everything these days.

Anyway, you're one of the lucky ones. Excited eh? I thought not. :-P
(http://en.wikipedia.org/wiki/Rss_feeds)
()

Date: 2006-02-09 11:46 pm (UTC)
ext_12881: DO NOT TAKE (Default)
From: [identity profile] tsukikage85.livejournal.com
Yay! I'm gonna be read!

Profile

tsukikage: (Default)
tsukikage

July 2017

S M T W T F S
      1
2345678
910 1112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 10th, 2026 12:12 am
Powered by Dreamwidth Studios