Skip to Main Content

Java User Groups

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

utf-8 encoding difference

Rajeev_Green-OracleDec 7 2018 — edited Dec 7 2018

Hello,

We are trying to migrate from Java 7 to Java 8.

We are using utf-8 encoding scheme for the password salt like String s = new String(salt,utf8)

The salt byte array from Java 7 differs to Java 8.

How to make it work on Java 8 so we have the same byte sequence generated.

Comments
Post Details
Added on Dec 7 2018
1 comment
89 views