Originally Posted By: Richard H.
Assuming that you are after a password, this will do the trick:

Paramters are:
$iLen = Length of the password
$sSalt = String that is used to generate the password - if you leave it blank then the current time is used.
$sRequires = Password strength where the characters may be
  • A - upper case letter
  • a - lower case letter
  • X - Upper or lowercase letter
  • 9 - numeric
  • # - Special


For you example:
 Code:
Passgen(Len("Valentim"),"Valentim","XXX999#") ?


This should get you the result: b~6r15wI


is exactly that, but also I'll need to read the decryption password correctly
_________________________