App\Services\Cipher\EncryptInterface::encrypt PHP Method

encrypt() public method

Encrypt given string w/ or w/o salt
public encrypt ( string $raw_passwd, string $salt = "" ) : string
$raw_passwd string
$salt string
return string ecrypted password
    public function encrypt($raw_passwd, $salt = "");
EncryptInterface