Skip to content

Instantly share code, notes, and snippets.

Avatar

Thiago Pereira kamihouse

View GitHub Profile
View apple-touch-icons.html
<!--iPhone and iPad Apple Touch Icons -->
<!-- iPhone Non-Retina -->
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-57x57.png">
<!-- iPhone Retina -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114.png">
<!-- iPad Non-Retina -->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-72x72.png" sizes="72x72">
<!-- iPad Retina -->
View Password.php
<?php
/**
* en -> Simple class for encrypting passwords using Advanced Encryption Standard (AES) 256-bit
* pt -> Classe simples para criptografia de senhas usando Advanced Encryption Standard (AES) 256-bit
*/
class Password {
private static $key= "NeB36lAm30&"; // Random key for encryption
public static function encript($password) {