straight-family-35431
03/11/2023, 2:19 AMstraight-family-35431
03/11/2023, 2:19 AMstraight-family-35431
03/11/2023, 2:20 AMstraight-family-35431
03/11/2023, 2:20 AMstraight-family-35431
03/11/2023, 2:20 AMdry-book-37643
03/11/2023, 2:20 AMstraight-family-35431
03/11/2023, 2:20 AMgorgeous-baker-92777
03/11/2023, 2:20 AMstraight-family-35431
03/11/2023, 2:20 AMdry-book-37643
03/11/2023, 2:20 AMgorgeous-baker-92777
03/11/2023, 2:20 AMstraight-family-35431
03/11/2023, 2:20 AMalert-exabyte-91153
03/11/2023, 2:21 AMdry-book-37643
03/11/2023, 2:21 AM// Function to hash a password using SHA-256
public HashPassword(input[], output[], size)
{
// Load the SHA-256 library
LoadLibrary("SHA256");
// Hash the input using SHA-256 and store the result in output
new hash[64];
SHA256(input, hash, false);
format(output, size, "%s", hash);
// Unload the SHA-256 library
UnloadLibrary("SHA256");
}
straight-family-35431
03/11/2023, 2:21 AMgorgeous-baker-92777
03/11/2023, 2:21 AMbreezy-solstice-69394
03/11/2023, 2:21 AMdry-book-37643
03/11/2023, 2:21 AMstraight-family-35431
03/11/2023, 2:21 AMgentle-london-6993
03/11/2023, 2:21 AMbreezy-solstice-69394
03/11/2023, 2:21 AMstraight-family-35431
03/11/2023, 2:22 AMstraight-family-35431
03/11/2023, 2:22 AMgorgeous-baker-92777
03/11/2023, 2:22 AMbreezy-solstice-69394
03/11/2023, 2:22 AMstraight-family-35431
03/11/2023, 2:22 AMstraight-family-35431
03/11/2023, 2:22 AMstraight-family-35431
03/11/2023, 2:22 AMgentle-london-6993
03/11/2023, 2:22 AM