承接 netkiller/safenet-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

netkiller/safenet-php

Composer 安装命令:

composer require netkiller/safenet-php

包简介

This tools provide you useful function to encrypt/decrypt string.

关键字:

README 文档

README

SafeNet for PHP - http://www.safenet-inc.com/

Installation

 # yum install -y libcurl-devel

 # git clone https://github.com/netkiller/safenet-php.git
 # cd safenet-php
 # /srv/php/bin/phpize
 # ./configure --with-php-config=/srv/php/bin/php-config
 # make
 # make install
 
 # cat > /srv/php/etc/conf.d/safenet.ini <<PHP
 extension=safenet.so
 [SafeNet]
 safenet.url=http://175.145.40.55/safe/interface
 safenet.key=Web01-key
 safenet.timeout=10
 PHP

Test

# /srv/php/bin/php -m | grep safenet
safenet

php -r "echo safenet_encrypt('helloworld');"
php -r "echo safenet_decrypt(safenet_encrypt('helloworld'));"

Code Example:

<?php
echo safenet_encrypt('helloworld');
echo safenet_decrypt(safenet_encrypt('helloworld'));

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 3
  • Forks: 4
  • 开发语言: C

其他信息

  • 授权协议: CC
  • 更新时间: 2015-09-02