Join us at IRC!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Monday, September 06, 2010
Navigation
Members Online
Total Online: 49
Web Spiders: 12
Guests Online: 41
Members Online: 8

Registered Members: 50508
Newest Member: sarayu
Latest Articles
View Thread

HellBound Hackers | Computer General | Cryptography

Page 1 of 2 1 2 >
Author

Which language would be best?

PirataLibertad
Member



Posts: 14
Location:
Joined: 31.12.09
Rank:
Apprentice
Posted on 01-01-10 09:56
I'm just starting out here, and after doing a few challenges I've become interested in encryption. I'd like to write an encrypting/decrypting program with input fields for the code desired to be encrypted/decrypted and a scroll-down menu for types of encryptions, but I'm not all that familiar with many programming languages. Which language would you suggest to be best to write a program like this?

Thanks.


"I like pigs. Dogs look up to us, and cats look down on us, but pigs look at us as equals."

--Winston Churchill
575497016
Author

RE: Which language would be best?

454447415244
Member

Posts: 156
Location:
Joined: 20.04.08
Rank:
God
Posted on 01-01-10 10:16
If you want something strong, let it be C/C++.


Awesome!
      http://www.securepp.net
Author

RE: Which language would be best?

Compromise
Member

Posts: 224
Location:
Joined: 11.11.09
Rank:
Moderate
Warn Level: 30
Posted on 01-01-10 15:42
Python + gtk or Qt.


CrazySpai
minecraft.net
Author

RE: Which language would be best?

PirataLibertad
Member



Posts: 14
Location:
Joined: 31.12.09
Rank:
Apprentice
Posted on 01-01-10 16:20
I've decided I'm going to learn Python. Wish me luck. :)


"I like pigs. Dogs look up to us, and cats look down on us, but pigs look at us as equals."

--Winston Churchill
575497016
Author

RE: Which language would be best?

kenneth_nap
Member

Posts: 62
Location: United States
Joined: 06.12.08
Rank:
God
Posted on 01-01-10 17:14
454447415244 wrote:
If you want something strong, let it be C/C++.


To OP: this is your best answer.


Forum Posts + Points

Guest - 0
Newbie - 20
Apprentice - 200
Moderate - 350
Wiseman - 500
Active User - 700
Mad User - 950
Monster - 1200
Hacker Level 1 - 1500
Hacker Level 2 - 1700
Hacker Level 3 - 1900
Elite - 2100
Uber Elite - 2450
HBH Guru - 2700
God - 3500
kenneth_napaluch
Author

RE: Which language would be best?

Futility
Member



Posts: 709
Location: USA
Joined: 17.12.07
Rank:
God
Posted on 01-01-10 19:19
Compromise wrote:
Python + gtk or Qt.


To the OP: this is your best answer.

Honestly- language doesn't really matter as it's what you write that makes the program run, not how you write it. Sure, each language has its advantages and disadvantages, but those really only come into effect when you're talking about giant big-time projects of which this one is not. I say Python for its ease of use, although its lack of a switch/case could be annoying here.


Futility91@hotmail.com Futility91 http://futility.kicks-ass.net/notablog/
Author

RE: Which language would be best?

stealth-
Ninja Extreme



Posts: 531
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 01-01-10 20:23
I, personally, found python very easy to work with for cryptography stuff, however I don't know that much C and none of C++ so I can't really speak against them.


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
www.stealth-x.com
stealth-x.com
Author

RE: Which language would be best?

COM
Member



Posts: 659
Location:
Joined: 31.08.07
Rank:
God
Posted on 01-01-10 20:42
I'd have to agree with not going for C/C++, that can be a bitch when going for something GUI based such as what you want. Go for what spy said. Also, please guys, do not make this a damn no language is superior thread, we've got enough of those speeches.


C++ <3
((((u|0)^(static_cast<int>(0xffffffff)^(0^(u^-1))))+1)==((static_cast<int>(0x90)>>4)-8)?static_cast<bool>(((u%1)+3)^(((static_cast<int>(0x31)<<1)+1)%47)|2):!(((0^-1)|0)&-1))
Author

RE: Which language would be best?

bl4ckc4t
Member

Posts: 590
Location: /etc/
Joined: 07.03.06
Rank:
HBH Guru
Posted on 01-01-10 21:54
It all depends.

Possible languages could be:

Windows: VB, C++, C#, Python, Perl, Java

Linux: C++, Python, perl, Java

Web: PHP/HTML/MySQL, Java


If you wanted it to run cross compatible with several operating systems, C++, python, Java, and perl would be the best ideas. If you wanted it to be for yourself, then choose your primary operating system. If you wanted it to be for many others with a quick lookup, such as a database, making a website would be great. PHP, Python, and Perl have great encryption capabilities. C++ will take more work, but is more powerful than the other languages.

Now that I have shed light on each, you should be able to decide.
Author

RE: Which language would be best?

define
Member

Posts: 196
Location:
Joined: 13.12.08
Rank:
Moderate
Warn Level: 1
Posted on 02-01-10 02:54
bl4ckc4t wrote:
Possible languages could be:

Windows: VB, C++, C#, Python, Perl, Java

Linux: C++, Python, perl, Java

Web: PHP/HTML/MySQL, Java

The boundaries between Windows/Linux/Web are much more relaxed now than they have been in the past couple of years. Your list would make more sense like this:

Windows/Linux Desktop Programming: C++
Desktop/Web Programming: C# (Mono/ASP.Net), Python (Django), PHP (PHP-GTK), Perl (CGI)

No one programs in Java because it sucks.

Though I use PHP exclusively now and would obviously do an encryption program in it, I have to agree with everyone else in the thread that Python would be the easiest path. Also, if you're doing a GUI (which you're not necessarily obligated to), I'd recommend GTK as the most logical UI library.

To recap: Python +1


Yeah.

Edited by define on 02-01-10 03:00
Author

RE: Which language would be best?

fashizzlepop
Member



Posts: 455
Location: Up the rabbit hole...
Joined: 08.04.08
Rank:
Uber Elite
Posted on 02-01-10 08:59
I'd say PHP would be a really good one to use. It already comes with a lot of encryption functions and it has good string manipulation features. Other than that I would say Perl, but Python just as well.


"The definition of insanity is doing the same thing over and over again and expecting different results.”
~Albert Einstein~



Sig by K_I_N_G
fashizzlepop@gmail.com http://fashizzlepop.codeinspire.net/
Author

RE: Which language would be best?

chess_rock
Member



Posts: 185
Location:
Joined: 20.02.08
Rank:
HBH Guru
Posted on 02-01-10 13:03
fashizzlepop wrote:
I'd say PHP would be a really good one to use. It already comes with a lot of encryption functions and it has good string manipulation features. Other than that I would say Perl, but Python just as well.


I totally agree with fashizzlepop here. If you look it up on w3schools, you'll see a lot of string and crypto operations in php, from transforming a string into an array to md5 encrypting. It may not be as powerful as C++, but it is extremely easy to use.
Author

RE: Which language would be best?

define
Member

Posts: 196
Location:
Joined: 13.12.08
Rank:
Moderate
Warn Level: 1
Posted on 02-01-10 14:15
fashizzlepop wrote:
I'd say PHP would be a really good one to use. It already comes with a lot of encryption functions and it has good string manipulation features. Other than that I would say Perl, but Python just as well.

chess_rock wrote:
I totally agree with fashizzlepop here. If you look it up on w3schools, you'll see a lot of string and crypto operations in php, from transforming a string into an array to md5 encrypting. It may not be as powerful as C++, but it is extremely easy to use.

I'd agree 100%, except for the fact that there is a bit more of a learning curve with PHP (compared to Python) because you have to become familiar with the basics of web development. I still think that added time would be easier than trying to do it in Perl. Simply put, you have to really want to learn a language you don't want to learn in order to learn Perl.

If he's intending to do web development in the future, anyways, then PHP is the best choice. Since he chose to learn Python already, though, I doubt it. :)


Yeah.
Author

RE: Which language would be best?

PirataLibertad
Member



Posts: 14
Location:
Joined: 31.12.09
Rank:
Apprentice
Posted on 02-01-10 15:23
I am intending to do web development in the future. I've got a good grasp on html, and learning javascblockedript soon. PHP was on my list, but I didn't know what it really does.

In any case, I'll put PHP on the list, but I want to get familiar with Python first, as it seems useful to know.


"I like pigs. Dogs look up to us, and cats look down on us, but pigs look at us as equals."

--Winston Churchill
575497016
Author

RE: Which language would be best?

define
Member

Posts: 196
Location:
Joined: 13.12.08
Rank:
Moderate
Warn Level: 1
Posted on 02-01-10 15:40
PirataLibertad wrote:
In any case, I'll put PHP on the list, but I want to get familiar with Python first, as it seems useful to know.

It's only useful if you're going to use it. :)


Yeah.
Author

RE: Which language would be best?

PirataLibertad
Member



Posts: 14
Location:
Joined: 31.12.09
Rank:
Apprentice
Posted on 02-01-10 15:45
I'm sure it'll be handy knowledge. Like if there's ever another Python contest. If not, oh well. I know another language :p


"I like pigs. Dogs look up to us, and cats look down on us, but pigs look at us as equals."

--Winston Churchill
575497016
Author

RE: Which language would be best?

fashizzlepop
Member



Posts: 455
Location: Up the rabbit hole...
Joined: 08.04.08
Rank:
Uber Elite
Posted on 03-01-10 07:04
define wrote: I still think that added time would be easier than trying to do it in Perl. Simply put, you have to really want to learn a language you don't want to learn in order to learn Perl.)


Unless of course you WANT to learn Perl, like me. :p

But I agree, Perl is probably not the best choice for him.


"The definition of insanity is doing the same thing over and over again and expecting different results.”
~Albert Einstein~



Sig by K_I_N_G
fashizzlepop@gmail.com http://fashizzlepop.codeinspire.net/
Author

RE: Which language would be best?

SET
Peumonoultramicroscopicsilico

Posts: 379
Location: 0
Joined: 22.02.07
Rank:
Hacker Level 1
Posted on 03-01-10 07:42
VB.net

Embrace the framework

http://en.wikipedia.org/wiki/Visual_Basic_.NET

http://www.homeandlearn.co.uk/NET/vbNET.html


ARCSET.com
Author

RE: Which language would be best?

fashizzlepop
Member



Posts: 455
Location: Up the rabbit hole...
Joined: 08.04.08
Rank:
Uber Elite
Posted on 03-01-10 08:02
For working with a GUI, yes.

For learning how to program properly and work with crypto...? lol. No.

Stick with Python.


"The definition of insanity is doing the same thing over and over again and expecting different results.”
~Albert Einstein~



Sig by K_I_N_G
fashizzlepop@gmail.com http://fashizzlepop.codeinspire.net/
Author

RE: Which language would be best?

SET
Peumonoultramicroscopicsilico

Posts: 379
Location: 0
Joined: 22.02.07
Rank:
Hacker Level 1
Posted on 03-01-10 09:03
i disagree...VB.net doesn't have to have a gui at all and runs wonderfully fast.....


ARCSET.com
Page 1 of 2 1 2 >
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

 

By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.