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 加密
      static String encrypt(String str, boolean lowerCase) MD5 加密
      • 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 加密

        Parameters:
        str - 待加密的字符串
        Returns:

        加密的字符串

      • encrypt

         static String encrypt(String str, boolean lowerCase)

        MD5 加密

        Parameters:
        str - 待加密的字符串
        lowerCase - 大小写
        Returns:

        加密后的字符串