Skip to main content
The repository with all the code is available at https://github.com/Cryptolens/cryptolens-php

Code example

The code above uses our testing access token, product id, license key and machine code. In a real values for you can be obtained as follows:
  • Access tokens can be created at https://app.cryptolens.io/User/AccessToken (remember to check ‘Activate’ and keep everything else unchanged)
  • The product id is found by selecting the relevant product from the list of products (https://app.cryptolens.io/Product), and then the product id is found above the list of keys.
  • The license key would be obtained from the user in an application dependant way.
  • Currently the PHP library does not compute the machine code, either the machine code can be computed by the application, or a dummy value can be used. In a future release the library itself will compute the machine code.
Cryptolens.php