Search:

Type: Posts; User: kakashi316

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    7,101

    Ok,ill admit that my last code was not the best...

    Ok,ill admit that my last code was not the best code that I could write and I have made corrections. I still need help trying to pass a file through the sign/verify functions and then write the...
  2. Replies
    4
    Views
    7,101

    dsa signing and verifying

    Im writing a program that is supposed to sign a file and then verify a file. Basically your supposed to put in three command prompts,one to indicate whether you want to sign or verify,another for the...
  3. Replies
    8
    Views
    2,391

    noted,but out of curiouisty. Its the first time...

    noted,but out of curiouisty. Its the first time ive used the dirent library. did I implement it right?
  4. Replies
    8
    Views
    2,391

    #include #include...

    #include<stdio.h>
    #include<string.h>
    #include<dirent.h>
    #include<openssl/evp.h>
    #include<openssl/hmac.h>

    int main (int argc , char ** argv )
    {
    struct dirent* dent;
    char key [] = "...
  5. Replies
    8
    Views
    2,391

    Im now having an issue with segmentation fault....

    Im now having an issue with segmentation fault. If anyone can help me id appreciate it.


    #include<stdio.h>
    #include<string.h>
    #include<dirent.h>
    #include<openssl/evp.h>...
  6. Replies
    8
    Views
    2,331

    segmentation fault issue

    Im writing a program that is supposed to sign and verify a file using DSA and is supposed to include pem objects that set the parameters and keys.Im testing it involving a sentence first,but when I...
  7. Replies
    8
    Views
    2,391

    yeah,its essentially each file in a directory and...

    yeah,its essentially each file in a directory and im using backtrack to do it. so i would just what,add it into a for loop or something?
  8. Replies
    8
    Views
    2,391

    HMAC of a directory

    im supposed to create a program that checks the HMAC of a directory and then store it in a seperate file. The following program does it for a file. I have a feeling that i would need to use a for...
  9. Replies
    4
    Views
    2,886

    noted,but you wouldnt happen to know if im right...

    noted,but you wouldnt happen to know if im right or not would you?
  10. Replies
    4
    Views
    2,886

    BIO set cipher

    I programming using BIO and I have a question about the BIO_set_cipher parameter. Now,i did my research and I read that

    "BIO_set_cipher() sets the cipher of BIO <b> to cipher using key key and IV...
  11. Replies
    1
    Views
    3,355

    Attention: Ignore this thread. I answered my own...

    Attention: Ignore this thread. I answered my own question.
  12. Replies
    1
    Views
    3,355

    openssl decryption

    Im supposed to use the following format to write a decryption program. The thing though is I have no idea where to start. I looked through the code and I believe the decrypting part of it lies with...
  13. Replies
    5
    Views
    10,019

    thanks dude

    thanks dude
  14. Replies
    5
    Views
    10,019

    I'm aware,what I mean is where I need to set any...

    I'm aware,what I mean is where I need to set any parameters into the rand bytes function,or just leave it alone? Yes,I'm aware I'm slow on the uptake where it comes to programming. But a...
  15. Replies
    5
    Views
    10,019

    openssl/RAND_bytes

    Im experimenting with openssl for homework and I need to generate a 1024 bit file. I know you can use RAND Bytes for this,but im not entirely sure how.

    As an example,
    int RAND_bytes(unsigned...
  16. Replies
    3
    Views
    805

    sorry, printf("time taken is",cpu_time_used);

    sorry, printf("time taken is",cpu_time_used);
  17. Replies
    3
    Views
    805

    clock function question

    Im using a clock function in my code. As an example

    #include <time.h>

    clock_t start, end;
    double cpu_time_used;

    start = clock();
    ... /* Do the work. */
    ...
  18. Replies
    4
    Views
    2,114

    Ok,what do you mean? Would I check by putting it...

    Ok,what do you mean? Would I check by putting it into loop or something else?
  19. Replies
    4
    Views
    2,114

    My problem is that Im not sure that im getting...

    My problem is that Im not sure that im getting the data correctly from the files. Im not that well versed in c and i dont know if i used the fscanf properly.
  20. Replies
    4
    Views
    2,114

    mock dictionary attack/fscanf help

    For a class,im generating a mock dictionary attack. I have three files, a passwd file thats has the userid, a shadow file that has encrypted passwords and a dictionary of passwords. I have a crypt...
  21. Replies
    13
    Views
    1,327

    somebody help me,im major league desperate to get...

    somebody help me,im major league desperate to get this working.
  22. Replies
    13
    Views
    1,327

    Is this right or am i completely far off? Have...

    Is this right or am i completely far off? Have paitence with me im that bad at programming.


    void copy(int copiedarray[], int numbers[],int arraysize)
    {
    for (int i = 0; i < arraysize; i++)...
  23. Replies
    13
    Views
    1,327

    Im still having trouble getting times other than...

    Im still having trouble getting times other than zero to print.I believe that my copy function is still not right,though i have modified it to what you guys have been telling me.if anyone can help me...
  24. Replies
    13
    Views
    1,327

    something new.....

    im working with in a group and this is what my friend got modified by me

    include<iostream>
    #include<iomanip>
    #include<cstdlib>
    #include<fstream>
    using std::rand;
    using std::srand;
    using...
  25. Replies
    13
    Views
    1,327

    so it should be void copy(int...

    so it should be


    void copy(int copiedarray[],int numbers[],int arraysize)
    {
    for (int i = 0; i < arraysize; i++)
    {
    ...
Results 1 to 25 of 27
Page 1 of 2 1 2