Cybersecurity, Cryptography.
%s\n",showhex(sm,smlen/128)); return 0; } int randombytes (unsigned char* random_array, unsigned long long num_bytes) { // unsigned char *random_array = malloc (num_bytes); size_t i; srand ((unsigned int) time (NULL)); for (i = 0; i < num_bytes; i++) { random_array[i] = rand (); } return 0; } A