PHP Crypt 02/11/2023
crypt() will return a hashed string using the standard Unix DES-based algorithm or alternative algorithms. password_verify() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_verify().
Tags: php crypt hash password
PHP Shuffle 09/11/2022
Randomizes the order of the elements in an array.
Tags: php shuffle array
Example of .htaccess for PHP 10/06/2021
A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of website-access issues, such as URL redirection, URL shortening, access control (for different web pages and files), and more. The 'dot' (period or full stop) before the file name makes it a hidden file in Unix-based environments.
Tags: html .htaccess php
PHPMailer – A full-featured email creation and transfer class for PHP
SHA512 Class 03/30/2021
This is the SHA512 HASH using the System.Security.Cryptography.HashAlgorithm.
SHA256 Class 03/19/2021
Computes the SHA256 hash for the input data.
If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.