Midori Enkripsi Untuk ASP Classic
Saya adalah penguna ASP versi 3.00 atau yang lebih dikenal ASP Classic.
Mungkin anda pernah berpikir atau bahkan membutuhkan suatu function untuk enkripsi data di lingkungan asp classic, setelah mencari beberapa hari saya menemukan suatu enkripsi yang lumayan bagus dan freeware, nama nya Midori enkripsi (Midori Crypt ActiveX component v1.1)
sebelum mengunakan download program midori di url berikut:
http://www.paipai.net/texts/MidCrypt.zip
install
1) Copy the MidoriCrypt.dll file di folder (c:\windows or c:\winnt or c:\winnt\system32 or similar)
2) run command regsvr32.exe c:\winnt\system32\MidoriCrypt.dll (if you putted the MidoriCrypt.dll in c:\winnt\system32)
3) siap digunakan
contoh di asp
<%
Set MidoriCryp = CreateObject("MidoriCrypt.Cipher")
tkey = "123"
original = "SURABAYA"
encodedText = MidoriCryp.cast128encode(tkey, original)
decodedText = MidoriCryp.cast128decode(tkey, encodedText)response.write encodedtext & "<br>"
response.write decodedText
Set MidoriCryp = Nothing
%>


