GithubHelp home page GithubHelp logo

makemake-kbo / satunna Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 33 KB

satunna is a WIP reproducible pseudo-random code execution hashing algorithm

Go 100.00%
virtual-machine cryptography crypto hash hashing-algorithm salt salting

satunna's Introduction

satunna

satunna is a reproducible pseudo-random code execution hashing algo.
It uses a virtual machine that executes pseudo-random instructions that produce a 256-bit Blake2b cryptographic hash.

Specifications

SPECS ARE WIP AND ARE SUBJECT TO CHANGE

The Virtual Machine

Seed

The seed is used to determine which instructions in what order are used on the inputed data.
The seed is a positive intenger derived from the first 16 bytes of the blake2b hash of the file(or string).

The Instruction Set

The satunnaVM is a CISC, turing complete virtual machine that is designed to compute 64-bit integers and nothing more.

The current VM instruction set is being worked on as satunna is being developed.

instruction dst src src == dst ? operation
IADD_M R R src = 0 dst = dst + [mem]
ISUB_R R R src = imm32 dst = dst - src
ISUB_M R R src = 0 dst = dst - [mem]
IMUL_R R R src = imm32 dst = dst * src
IMUL_M R R src = 0 dst = dst * [mem]
IMULH_R R R src = dst dst = (dst * src) >> 64
IMULH_M R R src = 0 dst = (dst * [mem]) >> 64
IMUL_RCP R - - dst = 2x / imm32 * dst
INEG_R R - - dst = -dst
IXOR_R R R src = imm32 dst = dst ^ src
IXOR_M R R src = 0 dst = dst ^ [mem]
IROR_R R R src = imm32 dst = dst >>> src
IROL_R R R src = imm32 dst = dst <<< src
ISWAP_R R R src = dst temp = src; src = dst; dst = temp

satunna's People

Contributors

makemake-kbo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

satunna's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.