Page tree
Skip to end of metadata
Go to start of metadata

문자열을 암호화 합니다.



Syntax

public string EncryptEX(string value, string key)


Parameters

Name

동작명

비고

value
암호화할 문자열
key
암호화 키 16자 이상




Return Value

Type:  string

암호화한 문자열 출력


VBA 코드

mxmodule.xapi.EncryptEX("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