Crates.io | cncs-sm2-php |
lib.rs | cncs-sm2-php |
version | 0.1.2 |
source | src |
created_at | 2021-12-25 03:45:06.629183 |
updated_at | 2022-03-11 08:36:03.501796 |
description | Chinese National Cryptography Standard - SM2 PHP |
homepage | https://github.com/bk-rs/CNCS-rs |
repository | https://github.com/bk-rs/CNCS-rs |
max_upload_size | |
id | 502848 |
size | 17,882 |
Ref https://davidcole1340.github.io/ext-php-rs/
sudo pacman -S php clang
cargo install cargo-php
cargo build --release -p cncs-sm2-php
php -dextension=../target/release/libcncs_sm2_php.so test.php