Download the PHP package idlegg/blockcrypto_sjj1310 without Composer

On this page you can find all versions of the php package idlegg/blockcrypto_sjj1310. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package blockcrypto_sjj1310

blockCrypto_SJJ1310_PHP

说明

  1. 基于SJJ1310型号密码机部分定制指令封装的一套PHP语言API接口程序。
  2. 接口内不提供Socket连接与维护的实现,需调用者自行完成TCP/IP Socket维护。
  3. 供应用调用的方法位于cmds类中

DEMO

使用指定密钥分别加密多组数据

数据类型 参数名 说明
socket $socket 与密码机建立的连接句柄
int $encFlag 加密模式标识(0,ECB; 1,CBC; 2,CFB; 3.OFB)
int $keyType 密钥类型标识
int/string $key 密钥索引或LMK加密的密钥密文值
string $deriveFactor 子密钥分散因子
int $sessionKeyFlag 会话密钥标识
string $sessionKeyFactor 会话密钥因子
int $paddingFlag 填充算法标识
string $iv 初始向量
array $dataArray 多个明文数据段组成的数组

使用指定密钥分别解密一组数据

数据类型 参数名 说明
socket $socket 与密码机建立的连接句柄
int $encFlag 加密模式标识(0,ECB; 1,CBC; 2,CFB; 3.OFB)
int $keyType 密钥类型标识
int/string $key 密钥索引或LMK加密的密钥密文值
string $deriveFactor 子密钥分散因子
int $sessionKeyFlag 会话密钥标识
string $sessionKeyFactor 会话密钥因子
int $paddingFlag 填充算法标识
string $iv 初始向量
array $dataArray 多个密文数据段组成的数组

All versions of blockcrypto_sjj1310 with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package idlegg/blockcrypto_sjj1310 contains the following files

Loading the files please wait ....