I-app Encryption Library
–=_077d037c2d7349ed7004534e68e382d1
Content-Type: multipart/alternative;
boundary=”=_a9b94ec0df6c4a68d8eee72270c4aa43″
–=_a9b94ec0df6c4a68d8eee72270c4aa43
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
เรียนทีมงาน
ปรับ JavaSE version 1.7 ให้แล้วนะครับ
ตัวอย่างวิธีการเรียกใช้งาน
IMPORT iapplib.iapppdfencrypt;
PUBLIC CLASS Main {
PUBLIC STATIC VOID main(String[] args) THROWS Exception {
String key = “ksiappksiapp2015”;
String CipherText
=iapppdfencrypt._enryptSmartClickCBC_(“test12345448ed7416fce2cb66c285d182b1ba3df1e90016d”,key);
System._OUT_.println(CipherText);
}
}
Plain text :TEST12345448ed7416fce2cb66c285d182b1ba3df1e90016d
ตัวสีดำคือ ID ที่จะส่ง
ตัวสีแดงคือ SHA1( ตัวสีดำ )
Return จะได้ออกมาเป็น HexString ที่ใช้ส่งมาทาง URL
https://kinvestmentportal.kasikornsecurities.com/iapp-pdf/
[1]da535f29ceb278d299dfe91e62c2771eba384eac5d8cfa6c30522949f97c9628d35c47becaeedd4d2a6c2f53c23760dc5c33b297b267e073c9ef4ad7edc11a5d
พบปัญหาการใช้งาน Lib หรือติดตรงไหนสอบถามได้ทางอีเมล์นี้ครับ
มาร์ช
Smartclick
Links:
——
[1] https://kinvestmentportal.kasikornsecurities.com/iapp-pdf/
–=_a9b94ec0df6c4a68d8eee72270c4aa43
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
=E0=B9=80=E0=B8=A3=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=97=E0=B8=B5=E0=B8=A1=
=E0=B8=87=E0=B8=B2=E0=B8=99
=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=
JavaSE version 1.7 =E0=B9=83=E0=B8=AB=E0=B9=89=E0=B9=81=E0=B8=A5=E0=B9=89=
=E0=B8=A7=E0=B8=99=E0=B8=B0=E0=B8=84=E0=B8=A3=E0=B8=B1=E0=B8=9A
=
=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B8=AD=E0=B8=A2=E0=B9=88=E0=B8=B2=E0=B8=87=E0=
=B8=A7=E0=B8=B4=E0=B8=98=E0=B8=B5=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=80=E0=B8=
=A3=E0=B8=B5=E0=B8=A2=E0=B8=81=E0=B9=83=E0=B8=8A=E0=B9=89=E0=B8=87=E0=B8=B2=
=E0=B8=99
im=
port iapplib.iapppdfencrypt;
public class Main {
public static void=
main(String[] args) throws Exception {
String =
key =3D “ksiappk=
siapp2015”;
String =
CipherText =3Diapppdfen=
crypt.enryptSmartClickCBC(“test12345448ed7416fce2cb66c285d1=
82b1ba3df1e90016d”,key);
System.=
out.println(CipherText);
}
}
Plain text :test12345448ed7416fce2cb66c285d182b1ba3df1e90016d
=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B8=AA=E0=B8=B5=
=E0=B8=94=E0=B8=B3=E0=B8=84=E0=B8=B7=E0=B8=AD ID =E0=B8=97=E0=B8=B5=E0=B9=
=88=E0=B8=88=E0=B8=B0=E0=B8=AA=E0=B9=88=E0=B8=87
=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B8=AA=E0=B8=B5=E0=B9=81=E0=B8=94=E0=B8=87=
=E0=B8=84=E0=B8=B7=E0=B8=AD Sha1( =E0=B8=95=
=E0=B8=B1=E0=B8=A7=E0=B8=AA=E0=B8=B5=E0=B8=94=E0=B8=B3 )
Return =E0=B8=88=E0=B8=B0=E0=
=B9=84=E0=B8=94=E0=B9=89=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=A1=E0=B8=B2=E0=B9=
=80=E0=B8=9B=E0=B9=87=E0=B8=99 HexString =E0=B8=97=E0=B8=B5=E0=B9=88=E0=B9=
=83=E0=B8=8A=E0=B9=89=E0=B8=AA=E0=B9=88=E0=B8=87=E0=B8=A1=E0=B8=B2=E0=B8=97=
=E0=B8=B2=E0=B8=87 URL
https://kinvestmentportal=
=2Ekasikornsecurities.com/iapp-pdf/da53=
5f29ceb278d299dfe91e62c2771eba384eac5d8cfa6c30522949f97c9628d35c47becaeedd4=
d2a6c2f53c23760dc5c33b297b267e073c9ef4ad7edc11a5d
=E0=B8=9E=E0=B8=9A=E0=B8=9B=E0=B8=B1=E0=B8=8D=E0=B8=AB=E0=
=B8=B2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=83=E0=B8=8A=E0=B9=89=E0=B8=87=E0=B8=
=B2=E0=B8=99 Lib =E0=B8=AB=E0=B8=A3=E0=B8=B7=E0=B8=AD=E0=B8=95=E0=B8=B4=E0=
=B8=94=E0=B8=95=E0=B8=A3=E0=B8=87=E0=B9=84=E0=B8=AB=E0=B8=99=E0=B8=AA=E0=B8=
=AD=E0=B8=9A=E0=B8=96=E0=B8=B2=E0=B8=A1=E0=B9=84=E0=B8=94=E0=B9=89=E0=B8=97=
=E0=B8=B2=E0=B8=87=E0=B8=AD=E0=B8=B5=E0=B9=80=E0=B8=A1=E0=B8=A5=E0=B9=8C=E0=
=B8=99=E0=B8=B5=E0=B9=89=E0=B8=84=E0=B8=A3=E0=B8=B1=E0=B8=9A
=E0=
=B8=A1=E0=B8=B2=E0=B8=A3=E0=B9=8C=E0=B8=8A
Smartclick
–=_a9b94ec0df6c4a68d8eee72270c4aa43–
–=_077d037c2d7349ed7004534e68e382d1
Content-Transfer-Encoding: base64
Content-Type: application/jar;
name=EncryptIapp.jar
Content-Disposition: attachment;
filename=EncryptIapp.jar;
size=1830
UEsDBBQACAgIALBgd0YAAAAAAAAAAAAAAAAUAAQATUVUQS1JTkYvTUFOSUZFU1QuTUb+ygAA803M
y0xLLS7RDUstKs7Mz7NSMNQz4OXi5QIAUEsHCLJ/Au4bAAAAGQAAAFBLAwQUAAgICABuYHdGAAAA
AAAAAAAAAAAAHAAAAGlhcHBsaWIvaWFwcHBkZmVuY3J5cHQuY2xhc3ONVmtXE1cU3RMSAjGUhz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