Package io.rong.imlib

Class MD5

  • All Implemented Interfaces:

    
    public class MD5
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MD5()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String encrypt(String str) MD5 Encryption
      static String encrypt(String str, boolean lowerCase) MD5 Encryption
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MD5

        MD5()
    • Method Detail

      • encrypt

         static String encrypt(String str)

        MD5 Encryption

        Parameters:
        str - The string to be encrypted
        Returns:

        The encrypted string

      • encrypt

         static String encrypt(String str, boolean lowerCase)

        MD5 Encryption

        Parameters:
        str - The string to be encrypted
        lowerCase - Indicates whether the result should be in lowercase
        Returns:

        The encrypted string