preliminary work for SSL support in iPXE. untested and probably not currently functional.

This commit is contained in:
2016-12-04 14:27:23 -05:00
parent 5ac510762c
commit 528949e82a
7 changed files with 447 additions and 75 deletions

View File

@@ -1,7 +0,0 @@
<?php
$password = readline("Password: ");
$saltRaw = random_bytes(8);
$salt = base64_encode($saltRaw);
$result = crypt($password,'$6' . '$' . $salt .'$');
print $result . "\n";
?>