mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			367 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			367 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
namespace common\components;
 | 
						|
 | 
						|
/**
 | 
						|
 * This class was used for the first generation of passwords on the Ely.by
 | 
						|
 * and should now be systematically cut from the project in order to replace this algorithm
 | 
						|
 * with a more secure one.
 | 
						|
 */
 | 
						|
class UserPass {
 | 
						|
 | 
						|
    public static function make($email, $pass) {
 | 
						|
        return md5($pass . md5(strtolower($email)));
 | 
						|
    }
 | 
						|
 | 
						|
}
 |