GithubHelp home page GithubHelp logo

zhangxz18 / rca Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunyt32/rca

0.0 0.0 0.0 46.51 MB

Random cell automata for hash algorithm.

C++ 0.37% Python 0.02% C 11.28% Makefile 0.28% Euphoria 88.06%

rca's Introduction

RCA

Random cell automata for hash algorithm.

文件说明:

  • sts-2.1.2 是助教提供的随机性检测软件
  • rca.hpp 是 hash function 主体部分
  • prng.hpp 是 presudo-random-number-generator(伪随机数生成器)
  • main.cpp 是 提供的运行和测速接口

运行方式

$ gcc main.cpp -o rca $ ./rca $ 之后手动输入测试字符串

test.py提供了随机生成字符串的方法,可以在脚本中修改生成串的个数、长度范围,通过重定向到input.txt可以方便之后的加密: $ python3 test.py > input.txt 利用生成脚本或者手动输入得到input.txt后,使用以下命令测试: $ ./rca < input.txt 密钥会经过stdio输出,同时以二进制形式写入output.bin,方便之后进行随机性检验。

rca's People

Contributors

han-fengyan avatar sunyt32 avatar

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.