Skip to content

Instantly share code, notes, and snippets.

View hawell's full-sized avatar
🏠
Working from home

arash cordi hawell

🏠
Working from home
View GitHub Profile
openapi: '3.0.6'
info:
title: 'messaging panel api'
description: 'messaging panel api'
version: '1.0'
servers:
- url: https://postman-pat.indraproject.ir/api/v1/admin/
@hawell
hawell / engine.c
Created January 28, 2019 12:43
OpenSSL "EngineBuilding Lesson 2" updated for openssl-1.1.x : https://www.openssl.org/blog/blog/2015/11/23/engine-building-lesson-2-an-example-md5-engine/
#include "openssl/engine.h"
#include "openssl/evp.h"
#include "rfc1321/global.h"
#include "rfc1321/md5.h"
#define MD5_DIGEST_LENGTH 16
#define MD5_CBLOCK 64
static const char *engine_id = "MD5";
static const char *engine_name = "A simple md5 engine for demonstration purposes";
@hawell
hawell / main.go
Last active October 22, 2018 14:13
Golang WorkerPool
package main
import (
"fmt"
"time"
)
type Job interface {
Handle()
}