Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_REQUEST['a']) && isset($_REQUEST['t'])) {
- switch($_REQUEST['a']) {
- case 'md5':
- case 'sha1':
- case 'sha256':
- case 'sha512':
- header(HTTP/1.1 200 OK');
- header('Content-Type: text/plain');
- print hash($_REQUEST['a'], (string)$_REQUEST['t']);
- exit();
- }
- header('HTTP/1.1 500 Internal Server Error');
Add Comment
Please, Sign In to add comment