```php
@param string $plainpasswd raw password string

@return string encrypted string
```