Skip to content

Instantly share code, notes, and snippets.

View yoursamlan's full-sized avatar
🎲
Exploring Bayesian Statistics

Amlan Saha Kundu yoursamlan

🎲
Exploring Bayesian Statistics
View GitHub Profile
@yoursamlan
yoursamlan / SHA_256_hak.cpp
Created June 12, 2019 15:16 — forked from hak8or/SHA_256_hak.cpp
SHA-256 basic implementation in C++ with a test.
#include <iostream>
#include <sstream>
#include <bitset>
#include <vector>
#include <iomanip>
#include <cstring>
// By: hak8or
// To compile: g++ -std=c++0x SHA_256_hak.cpp -o SHA_256_hak
// To run self test just run the following: SHA_256_hak