function GeneratePrivateKey($a)
 {
     $auth = new Encryption();
     $x = $auth->ReadFolder($a);
     $y = $auth->PickRandomImages($x);
     $z = $auth->GeneratePrivKey($y);
     return $z;
 }