You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Ivar Grant <iv...@gmail.com> on 2008/09/01 11:30:13 UTC

Re: How to encrypt user's password? I'm using file base user manager.

Thanks for your help, guys.

2008/8/31 Niklas Gustavsson <ni...@protocol7.com>

> On Thu, Aug 28, 2008 at 5:11 PM, Ivar Grant <iv...@gmail.com> wrote:
> > Hello, please tell me how to encrypt user password when using file based
> > user manager.
> > What encryption algorithm is used ? What tool can I use for this?
>
> http://mina.apache.org/ftpserver/file-based-user-manager.html
>
> The documentation covers the available options. The "salted" option
> uses the algorithm described a Jasypt linked to by Andy. "md5" does a
> simple MD5 hash of the password.
>
> There is also the possibility of creating your own algorithm and
> insert as a custom bean.
>
> /niklas
>