Skip to content

MicroBitcoinOrg/Mirinae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of Mirinae hash function

This is official implementation of Mirinae hash function used by MicroBitcoin.

Motivation

Main motivation for development of this algo - create new ASICs resistant hash function which will replace Groestl512 after Baikal G28 appearance. Is uses combination of groestl and kupyna hash functions, source code can be checked here. Special thanks to whitefire990, DigitalCruncher and Aiwe for help with dicsussion/development of this algo. Also cheers to Turtlecoin devs for this article which Mirinae hash heavily inspired by :)

Usage:

void mirinae(const void* input, void* output, size_t length, int height)

input - raw block header
output - variable which receive hash output by memcpy
length - data length
height - new block height

You can build demo app using this command:

./build

and run it by:

./mbc_hash

Developed with love by iamstenman