If the encoding of JAVA character data in hash is consistent with PHP, then the encryption method is the same!
Divide it carefully, just as encryption can be implemented in code.