import java.security.SecureRandom; imort com.initech.eam.xmlrpc.Base64; import java,security.MessaveDigest; public static String GetSalt() throws Exception{ SecureRandom random - new SecureRandom(); byte [] salt = new byte[16]; random.nextBytes(salt); return new String(Base64.encode(salt), "ISO-8859-1"); } public static String Sha2Encrypt(String plainText, String salt) throws Exceptinon{ Message..