This method is used for encryption. Spring's stuff is mainly local encryption that is inconsistent with the server. Find the solution!
str.getBytes() requires specifying the encoding
str.getBytes() requires specifying the encoding