Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"crypto/sha256" | |
"encoding/hex" | |
"fmt" | |
"strings" |
package myreflect | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Invoke - firstResult, err := invoke(AnyStructInterface, MethodName, Params...) | |
func Invoke(any interface{}, name string, args ...interface{}) (reflect.Value, error) { | |
method := reflect.ValueOf(any).MethodByName(name) |
#include <pthread.h> | |
#include <semaphore.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
struct channel_node { | |
void *val; | |
struct channel_node *next; | |
struct channel_node *prev; | |
}; |
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/hex" | |
"flag" | |
"fmt" | |
"io" |
from django.contrib import admin | |
from .models import User | |
admin.site.register([User]) |
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
"encoding/hex" | |
"encoding/pem" | |
"errors" | |
"fmt" |