|
static String | encryptFile (String filePath, String toUserName) |
|
static void | decryptFile (String filePath, String fromUserName) |
|
static void io.agora.chat.EMEncryptUtils.decryptFile |
( |
String |
filePath, |
|
|
String |
fromUserName |
|
) |
| |
|
static |
decrypt file, overwrite the original file
- Parameters
-
filePath | file absolute path |
fromUserName | the opposite username |
static String io.agora.chat.EMEncryptUtils.encryptFile |
( |
String |
filePath, |
|
|
String |
toUserName |
|
) |
| |
|
static |
encrypt file
- Parameters
-
filePath | file absolute path |
toUserName | the opposite username |
- Returns
- return a encypted temp file's path
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/io/agora/chat/EMEncryptUtils.java