Run
java -cp alfresco-simple-dbpwd-encrypt-1.0.jar org.alfresco.dbencrypt.SimpleEncryptor
It should print
:
Use this encrypted password for the alfresco-global.properties and change the file alfresco/WEB-INF/classes/alfresco/core-services.xml for the data source bean defaultDataSource to use as class org.alfresco.dbencrypt.SimpleEncryptPwdDataSource
The encryption uses as encryption key a hard coded value in the class org.alfresco.dbencrypt.SimpleEncryptor. You probably should consider changing it for your deployment and rebuild the jar first.