1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00
This commit is contained in:
だいちまる
2024-04-24 00:31:34 +09:00
committed by GitHub
parent 9c39e54191
commit fa8d814386
-11
View File
@@ -1,11 +0,0 @@
<?php
$key_pair = openssl_pkey_new(array(
'private_key_bits' => 2048, // 秘密鍵のビット数
'private_key_type' => OPENSSL_KEYTYPE_RSA // RSA秘密鍵を生成
));
// 秘密鍵を取得する
openssl_pkey_export($key_pair, $private_key);
echo $private_key;
?>