Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,160,421 members, 7,843,271 topics. Date: Tuesday, 28 May 2024 at 09:50 PM

Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To (3028 Views)

Universal Files And Folders Encryption (PGP) - Good For You / Please Need Help With Writing These C++ Programmes Please This Is Really Urgent / Where Can One Learn Vb.net Cheap And Fast In Lagos (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To by litusista(f): 9:54pm On Jul 19, 2012
thanks guys.. i now have a better picture. i've gotten my python kit, and also a friend who wants to put me through.. thks. if i have any other questions i'll let u guys know.
Re: Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To by Nobody: 10:33pm On Jul 19, 2012
litusista: thanks guys.. i now have a better picture. i've gotten my python kit, and also a friend who wants to put me through.. thks. if i have any other questions i'll let u guys know.

SSL is what best fit what you want to achieve, to make this work, both systems need to understand the encryption used.
you can build a simple one that requires no key.
You may want to look into python sockets, choose a non-standard port and let your application communicate on this port.
Re: Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To by Fayimora(m): 11:34pm On Jul 19, 2012
@ekt has mentioned what I am about to say but I don't think you took it into consideration. Seriously, I'll give you a "Nairaland tip". When people like @ekt suggest you check something out, CHECK IT OUT! Doesn't matter if it turns out to be "useless". I know he knows his stuff!

Ok back on point;
Hash Function != Encryption Function

If you want to create some sort of irreversible mapping between an arbitrary length of data, then what you need is a hash function. Why? Do your research!

If you want to create a reversible 1-1 mapping between data of arbitrary length then what you want is an encryption function. Notice the 1-1 ?!?!

Now encrypting is more or less translating. If I take a message and re-write it in Spanish, I have basically encrypted that message from you because I know you can't speak Spanish!(#assumption)
I extracted a phrase from one of your posts, "DATA TRANSMISSION". Why would you want to hash this? Really? When the data gets to its location, what happens? How do you translate it?

Encryption = Translation.

Get your data, translate it into a language that no-one understands except he/she has a "key". Your receiver accepts the message and because he/she is in possession of a key, they can "unlock" the message.
You now feeling the vibe? lol

Anyways, in summary, you need an encryption algorithm. If you have the time, it's quite fun trying to write one. Don't try it if you haven't got a good math background though, seriously it's a killer!
If you don't have time then I believe @ekt provided you with the best thing, of which I spiced up a bit! cool

@Webdezzi LOADS of code convention and java development errors in that snippet of code tongue

When da F&%k is the preview button coming back?

1 Like

Re: Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To by Nobody: 11:30am On Jul 20, 2012
Fayimora:

@Webdezzi LOADS of code convention and java development errors in that snippet of code tongue

When da F&%k is the preview button coming back?


Please feel free to point them out, I am very open to new ideas.
btw, i just copied and pasted the C++ version and tried to port it directly in the "Nairaland reply IDE"
just too occupied & lazy to test it.

Fayimora:
Anyways, in summary, you need an encryption algorithm. If you have the time, it's quite fun trying to write one. Don't try it if you haven't got a good math background though, seriously it's a killer!



@OP that is really meant to scare you off, if you can think logically, you are good to go.
Re: Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To by SayoMarvel(m): 11:19pm On Jul 24, 2012
@webdezzi writing an encryption algo that I'll consider good enough for a final year project will involve some decent maths, @op may want to study some stuffs about primes.

Nigeria is in soup! I would have recommended Bouncy Castle or Stiftung for @OP but you said you want to come up with something new and besides, this 10% proficiency thing is errm...
Anyway, I suggest you get your hands dirty in code and discrete maths and when you are ready to tackle the big stuff, you may want to take a look at the internls of Bouncy Castle.

Good luck!
Re: Who Can Help With Writing An Encryption Algorithm? How Soon Can One Learn How To by Danyl(m): 7:46am On Jul 29, 2012
SayoMarvel: @webdezzi writing an encryption algo that I'll consider good enough for a final year project will involve some decent maths, @op may want to study some stuffs about primes.

Nigeria is in soup! I would have recommended Bouncy Castle or Stiftung for @OP but you said you want to come up with something new and besides, this 10% proficiency thing is errm...
Anyway, I suggest you get your hands dirty in code and discrete maths and when you are ready to tackle the big stuff, you may want to take a look at the internls of Bouncy Castle.

Good luck!
@sayomarvel,wer av u bn all ds whilge,bn a lng tym,so sorry i didnt gv u a cal all ds while..

(1) (2) (Reply)

Why Now Is The Best Time To Learn Javascript / Support Python Programming With Android Devices :qpython E.t.c / Vb6.0 Code

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.