1 Reply Latest reply on Aug 19, 2011 9:18 AM by shootingpar

    What is the default algorithm and encryption level when encrypting datasource passwords?

    shootingpar Newbie

      Hello All,


      I am running JBoss 5.0.1 and encrypting the datasource password instead of using it in clear text.


      I am trying to find out what is the default algorithm and encryption level of the encrypted password? Is it 64bit? 128bit?


      I cannot find any documentation listing this information.


      I am not using the Password Based Encyption (PBE) Utility to create the encrypted password.


      I used the following url to help create the encrypted password.




      D:\JBoss\jboss-5.0.1.GA>java -cp client/jboss-logging-spi.jar;common/lib/jbosssx.jar org.jboss.resource.security.SecureIdentityLoginModule password

      Encoded password: 5dfc52b51bd35553df8592078de921bc


      The data source password is encrypted using the SecureIdentityLoginModule main method by passing in the clear text password. The SecureIdentityLoginModule is provided by jbosssx.jar.


      Any assistance would be greatly appreciated!