This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - eliaou

Pages: [1] 2
1
Projects and Discussion / Re: problem with a project in c++
« on: August 13, 2015, 05:33:46 PM »
Wow..what a subtlety...nice !


2
Projects and Discussion / Re: problem with a project in c++
« on: August 13, 2015, 04:54:55 PM »
Thank you for the advice :) .

So, the problem is that i get a bug even if i delete the letter at position .

the bug is that the console prints out only 4 letters instead of 7.

*I did as you advised (advice 1) now it prints out different string size each time.

Code: [Select]

using namespace std;

int main()
{
    string inputWord("MYSTERE");  // I wanted to test it with 1 word before generalizing it
    string shuffledWord;
    const int wordSize(inputWord.size());




for (int i=0 ; i <= wordSize ; i++)

{

 int position(0) ;


        srand(time(0));

        position = rand() % wordSize;

        shuffledWord += inputWord[position];


inputWord.erase(position, 1);





}


  cout << "shuffled word :" << shuffledWord<<endl;


    return 0;
}

3
Projects and Discussion / problem with a project in c++
« on: August 13, 2015, 04:42:02 PM »
Hello guys, :)

I have been learning c++ alone for a week now (not very impressive i know) .

I have been trying to create a function that takes a string as input and shuffles the order of the string without repeating any of the characters.

It is part of a bigger program that is basically a guessing game between two players :

player 1 inputs a word >> computer shuffles the word >> computer prints shuffled word >> player 2 needs to guess what was the original word and input it .



i cant figure out what the problem is

Moreover I would like to know if you could possibly give me some feedback about my style (what can I improve)

(By the way its not a function yet because i needed to test it)

Thanks

this is what i came up with :

Code: [Select]

#include <iostream>
#include <string>
#include <ctime>
#include <cstdlib>

/*
this function takes a string as argument and shuffles it */



using namespace std;

int main()
{
    string inputWord("MYSTERE");  // I wanted to test it with 1 word before generalizing it
    string shuffledWord;




for (int i=0 ; i <= inputWord.size() ; i++)

{

 int position(0) ;


        srand(time(0));

        position = rand() % inputWord.size();

        shuffledWord += inputWord[position];


inputWord.erase(5, 1);  // Retire la lettre n°5





}


  cout << "shuffled word :" << shuffledWord<<endl;


    return 0;
}




4
Hacking and Security / Re: ASIC chips brute forcing
« on: December 04, 2013, 06:21:23 PM »
Security in the CPU itself ?


Do you mean that it has security in the gate transistors or/and in the logic circuit ?

5
Hacking and Security / Re: ASIC chips brute forcing
« on: December 04, 2013, 11:42:53 AM »
Thanks for the info ande .

I got alot more questions but I think I can continue this one on google

+1 cookie

6
Hacking and Security / Re: ASIC chips brute forcing
« on: December 03, 2013, 07:35:49 PM »

Entropy ? (again sorry for the noobness )


Do you mean that by definition a password  becomes more complex and has many layers of change til it becomes a hash ?  and by collision do you mean that there can be a recognizable pattern how the entropy develops , and by that the computer arrives at a conclusion as to what the original password or the prime number was ?


(by the way i love this forum lots of smart peoples here , its refreshing to see that it still exists in the internet  :) )

7
Hacking and Security / Re: ASIC chips brute forcing
« on: December 03, 2013, 07:00:02 PM »
Its a really interesting subject.
But if peoples do it successfully ,can lets say sha-256 be still secure ? because its still
(2^64 ) -1 possible combinations and with a few asic chips and doing some parallel hashing peoples could brute force hashes pretty quick no ?

8
Hacking and Security / Re: ASIC chips brute forcing
« on: December 03, 2013, 06:49:45 PM »
Yes I tought of  parallel computing ,but (sorry for the noobnes here ) is it possible to divide a hash by segment like so : core 1 does "2j" core 2 does "h2".. etc

Or just lets say : core 1 does lowercase core 2 : uppercase ...etc

9
Hacking and Security / Re: ASIC chips brute forcing
« on: December 02, 2013, 05:41:29 PM »
ok..so no brute forcing for me I guess  :'(  .


Thanks for the help anyways

10
Hacking and Security / Re: ASIC chips brute forcing
« on: December 02, 2013, 10:50:13 AM »
ok thanks..would it be just modifications in the driver ?

11
Hacking and Security / Re: ASIC chips brute forcing
« on: December 02, 2013, 12:24:34 AM »
What i meant is using it to brute force any regular password lets say

12
Hacking and Security / ASIC chips brute forcing
« on: December 01, 2013, 11:32:48 PM »
Hi Guys ,


I started to get interested in Cryptocurrency mining and the basic concept ( I guess most of you allready know ) is that you find a solution to a hash a bit like brute forcing , now miners figured out that actually GPU's (and later technology witch are asic chips that run at +- 500 gigahash /s instead of CPU's witch work at max 1 megahash/s ) are alot faster at solving this kind of problems than CPU's are .


My question is : would it  be faster to brute force a  hash with CPU or GPU for anything ?


link (simple diagram about Cryptocurrency mining) : [size=78%]http://imgur.com/IdlzmLA[/size]


Thank You

13
Hacking and Security / Re: Suspicious sign in prevented
« on: December 27, 2012, 09:44:22 PM »
i got the same thing from a chineese ip too..changed my pass and everything

14
Hacking and Security / Re: unsecured connection
« on: December 24, 2012, 12:42:42 AM »
well its not  that wild since i do the same thing on my network...so its one of the possibilities that he should check so yea its an educated guess like i said.
but definitely not a wild one .

15
Hacking and Security / Re: unsecured connection
« on: December 22, 2012, 12:05:23 AM »
i would guess its a mac adress filtering..(again its an educated guess) :D

Pages: [1] 2


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.