Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <?php include "index.php" ?>
- <title>Program Enkripsi dan Dekripsi</title>
- <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
- <script type="text/javascript" src="js/jquery.js"></script>
- <script type="text/javascript" src="js/bootstrap.js"></script>
- <link href="css.css" rel="stylesheet" type="text/css" >
- </head>
- <body>
- <div class="first">
- <h2>Hasil <i>Encryp/ Decrypt</i></h2>
- <form class="form-group">
- <div class="form-group">
- <input type="text" class="form-control" disabled>
- </div>
- </div>
- <?php
- $data = $_POST[data]
- $encode = base64_encode($data);
- $decode = base64_decode($data);
- echo "<br/>Hasil encode :".$encode;
- echo "<br/>Hasil Decode :".$decode;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement