<html>
<head>
</head>
<head><title>Welcome</title><head>
<body>

	<form action="functions/base64enc.php" method="post">
  	please input plaint: <input type="text" name="plaint" /> <br/>
  	<input type="Submit" name = "base64enc" value = "base64enc"/>
	</form>
	
	<form action="functions/base64dec.php" method="post">
  	please input base64 code: <input type="text" name="base64" /> <br/>
  	<input type="Submit" name = "base64dec" value = "base64dec"/>
	</form>

	<form action="functions/genrsa.php" method="post">
  	please input RSA key len: <input type="text" name="keylen" /> <br/>
	please input RSA key password: <input type="text" name="pass" /> <br/>
	please input seed: <input type="text" name="seed" /> <br/>
  	<input type="Submit" name = "genrsa" value = "genRSA"/>
	</form>

	<form action="functions/sign.php" method="post">
  	please input plaint: <input type="text" name="plaint" /> <br/>
	please input RSA key file: <input type="text" name="key" /> <br/>
	please input RSA key pass: <input type="text" name="pass" /> <br/>
  	<input type="Submit" name = "sign" value = "sign"/>
	</form>

	<form action="functions/verifysign.php" method="post">
  	please input plaint: <input type="text" name="plaint" /> <br/>
	please input cert file: <input type="text" name="cert" /> <br/>
	please input signature: <input type="text" name="sign" /> <br/>
  	<input type="Submit" name = "verifysign" value = "verifysign"/>
	</form>

	<form action="functions/getcertid.php" method="post">
	please input cert file: <input type="text" name="cert" /> <br/>
  	<input type="Submit" name = "getcertid" value = "getCertID"/>
	</form>

	<form action="functions/getpublickey.php" method="post">
	please input cert file: <input type="text" name="cert" /> <br/>
  	<input type="Submit" name = "getpublickey" value = "getPublicKey"/>
	</form>

	<form action="functions/prienc.php" method="post">
  	please input plaint: <input type="text" name="plaint" /> <br/>
	please input RSA key file: <input type="text" name="key" /> <br/>
	please input RSA key pass: <input type="text" name="pass" /> <br/>
  	<input type="Submit" name = "prienc" value = "privateEnc"/>
	</form>

	<form action="functions/pubdec.php" method="post">
  	please input encryption: <input type="text" name="enc" /> <br/>
	please input cert file: <input type="text" name="cert" /> <br/>
  	<input type="Submit" name = "pubdec" value = "publicDecrypt"/>
	</form>

	<form action="functions/pubenc.php" method="post">
  	please input plaint: <input type="text" name="plaint" /> <br/>
	please input cert file: <input type="text" name="cert" /> <br/>
  	<input type="Submit" name = "pubenc" value = "publicEncrypt"/>
	</form>

	<form action="functions/pridec.php" method="post">
  	please input encryption: <input type="text" name="enc" /> <br/>
	please input RSA key file: <input type="text" name="key" /> <br/>
	please input RSA key pass: <input type="text" name="pass" /> <br/>
  	<input type="Submit" name = "pridec" value = "privateDec"/>
	</form>

	<form action="functions/gendes.php" method="post">
  	please input DES key len: <input type="text" name="keylen" /> <br/>
	please input seed: <input type="text" name="seed" /> <br/>
  	<input type="Submit" name = "gendes" value = "genDES"/>
	</form>

	<form action="functions/desenc.php" method="post">
  	please input plaint: <input type="text" name="plaint" /> <br/>
	please input DES key: <input type="text" name="key" /> <br/>
  	<input type="Submit" name = "desenc" value = "desEncrypt"/>
	</form>

	<form action="functions/desdec.php" method="post">
  	please input encryption: <input type="text" name="enc" /> <br/>
	please input DES key: <input type="text" name="key" /> <br/>
  	<input type="Submit" name = "desdec" value = "desDecrypt"/>
	</form>
</body>
</html>
