문자열을 암호화 합니다.
Syntax
public string DecryptEX(string value, string key)
|
Parameters
Name | 동작명 | 비고 |
---|
value | 복호화할 문자열 |
|
key | 복호화 키 16자 이상 |
|
|
|
|
Return Value
Type: string
복호화한 문자열 출력
VBA 코드
mxmodule.xapi.DecryptEX(
"message", "1234567890123456"
)
Example
1 2 3 4 5 6 7 8 9 10 11 12 | Sub EncryptEXTest()
Dim mxmodule As Object
Set mxmodule = Application.COMAddIns.Item( "iMATRIX.ExcelModule" ). Object '16자리 이상의 키로 암호화
ret = mxmodule.xapi.EncryptEX( "message", "1234567890123456" )
debug.print ret
ret = mxmodule.xapi.DecryptEX(ret, "1234567890123456")
debug.print ret
End Sub
|