hyphenate_SDK3.0  3.8.6.1
hyphenate java IM SDK
Static Public Member Functions | List of all members
com.hyphenate.chat.EMEncryptUtils Class Reference

Static Public Member Functions

static String encryptFile (String filePath, String toUserName)
 
static void decryptFile (String filePath, String fromUserName)
 

Member Function Documentation

◆ decryptFile()

static void com.hyphenate.chat.EMEncryptUtils.decryptFile ( String  filePath,
String  fromUserName 
)
static

decrypt file, overwrite the original file

Parameters
filePathfile absolute path
fromUserNamethe opposite username

◆ encryptFile()

static String com.hyphenate.chat.EMEncryptUtils.encryptFile ( String  filePath,
String  toUserName 
)
static

encrypt file

Parameters
filePathfile absolute path
toUserNamethe opposite username
Returns
return a encypted temp file's path

The documentation for this class was generated from the following file: