aWallet acquires Greek localization

aWallet and aWallet Cloud are two powerfull android password managers. The first one is free and the second is a paid application. Except sacurely password storing and managing, you can create backups or export data in CSV format. Also with the aWallet Cloud you can sync your password data securely between devices in cooperation with major cloud storage services such as Dropbox and Google Drive.
From the version 3.4.2 of aWallet and from the next update of aWallet Cloud I proudly contributing to the project, by making the Greek localization.
For more info, see at the Localization Project’s Page.

PHP random password generator

Here is a function for random password generation, could be useful in a lot of PHP projects.

* @author Petros Kyladitis - 2012
* @license MIT License
* @description random password generator
* @param $min_length the minimum size of the password
* @param $length the maximum size of the password
* @param $chars a string contains all acceptable password characters
* @return a string with the generated password

function rand_pass($min_length, $max_length=null, $chars="qwertyuiopasdfghjklzxcvbnm1234567890QWERTYUIOPASDFGHJKLZXCVBNM"){
  //if $max_length param is not set, pass $length is the $min_length 
  //param, else a random number between min and max params.
  $length = !isset($max_length) ? $min_length : rand($min_length, $max_length) ;
  //the position of the last character of $chars variable
  $chars_end = strlen($chars) - 1;
  //variable for store password
  $pass ;
  //select a random char from the $chars & concatenate to the $pass
  for($i=0; $i<$length; $i++)
    $pass .= substr($chars, rand(0, $chars_end), 1) ;
  return $pass ;