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...
Type: Posts; User: kakashi316
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...
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...
noted,but out of curiouisty. Its the first time ive used the dirent library. did I implement it right?
#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 [] = "...
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>...
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...
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?
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...
noted,but you wouldnt happen to know if im right or not would you?
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...
Attention: Ignore this thread. I answered my own question.
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...
thanks dude
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...
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...
sorry, printf("time taken is",cpu_time_used);
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. */
...
Ok,what do you mean? Would I check by putting it into loop or something else?
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.
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...
somebody help me,im major league desperate to get this working.
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++)...
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...
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...
so it should be
void copy(int copiedarray[],int numbers[],int arraysize)
{
for (int i = 0; i < arraysize; i++)
{
...