资源算法ornagai-v3

ornagai-v3

2020-02-12 | |  41 |   0 |   0

Orangai V3

Update the config.php with yoru db information.

You can import mysql database from sample_ornagai.sql.zip

You will need rsa private key and Modulus.

Generate RSA Key

$ openssl genrsa -out key.pem
$ cat key.pem | pbcopy

Paste the code in to the config.php

$config['privatekey'] = "PASTE THE CODE HERE";
$ openssl rsa -in key.pem -noout -modulus

Copy the Modulus. Example 9CAF2D1CBB4F823C46457DA5EAE24F3422BE0E2B3E81E3CF04F5C00B16487DDF96BD901F39577F7F3650882A9292BBB0272D872A28E867FA0A89A06DEE4B73A

Search , rsa.setPublic and paste the code in js/app.js.

Example

rsa.setPublic("9CAF2D1CBB4F823C46457DA5EAE24F3422BE0E2B3E81E3CF04F5C00B16487DDF96BD901F39577F7F3650882A9292BBB0272D872A28E867FA0A89A06DEE4B73A","10001");

Requirement

You need to install composer first.

php composer.phar install

Libraries

Front-End

Back-End

License

MIT


上一篇:python-ornek

下一篇:esp_ornaments

用户评价
全部评价

热门资源

  • TensorFlow-Course

    This repository aims to provide simple and read...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • mxnet_VanillaCNN

    This is a mxnet implementation of the Vanilla C...

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • Klukshu-Sockeye-...

    KLUKSHU SOCKEYE PROJECTS 2016 This repositor...