PHP 生成公钥私钥,加密解密,签名验签

test_encry.phpphp <?php //建立私钥,公钥 //create_key(); //要加密内容 $str = "test_str"; //加密 $encrypt_str = test_encrypt($str); //解密 $decrypt_str = test_decrypt($encrypt_str); //echo $decrypt_str;exit; //签名 $sig
相关文章
相关标签/搜索