The EAP 6 encrypt password process returns different encrypted password for the same password in different OS[UNIX/Windows]

Solution Verified - Updated -

Issue

When trying to encrypt a datasource password the same command is returning a different encrypted password for the same password when tried in different OS[UNIX/Windows]

Example:
LINUX:

[jboss@vm1 ~]$ java -cp modules/system/layers/base/org/picketbox/main/picketbox-4.0.19.SP8-redhat-1.jar org.picketbox.datasource.security.SecureIdentityLoginModule My$Pass
Encoded password: -594d79b4d12f180f

WINDOWS:

C:\Windows\System32>java  org.picketbox.datasource.security.SecureIdentityLoginModule My$Pass
Encoded password: 2b0f88b70fe46986

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6.X
  • Red Hat Enterprise Linux Server release (RHEL) 6.X
  • Windows 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content