encrypt for dbcp connection password,based on tomcat-dbcp.jar