activate-server

1.0.0 • Public • Published

activate-server

activate-server is the part of activate module, which use as the server to send 2d code to the phone user. Use with the activate-client; The activate-server which verifying the client auth and generating an code to the user. Operation step: Use the client part ,then you get a string(for 2d-code),verification code,/activate-code/test/2DCode.svg, /activate-code/test/2wmTest.html, open the 2wmTest.html and scan the svg with phone, you can get an verification code which can be compared with previous verification code. activate-code uses ecdh to crypte the input args. So, the output strings are different every time. The input arguments will be crypted with aes-128 method. The verifying string are generated within jenkinsHash32 which has low collision. However, the activate-client are used together with the http part which can send verifying string to requesting user. And also, communicate its public ecdh key with the server part. activate-server uses ecdh to crypte the input args. So, the output strings are different every time. The input arguments will be crypted with aes-128 method. The verifying string are generated within jenkinsHash32 which has low collision. However, the activate-client are used together with the http part which can send verifying
string to requesting user. And also, communicate its public ecdh key with the server part.

Installation

npm install activate-server

Usage

cd /node_modules/activate-server

node activate-server

If you think it usefull, please click the star

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i activate-server

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • duduc123