Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <openssl/rand.h>
- int main(int argc, char **argv) {
- unsigned char key[16];
- if (!RAND_bytes(key, sizeof key)) {
- return EXIT_FAILURE;
- }
- printf("%s", key)
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement