Sub encrypt() For i = 0 To bytes.Length - 1 bytes(i) = fast(bytes(i), ee) Next End Sub
Function fast(ByVal aa As Object, ByVal zz As Integer) As Integer Dim xx As Integer xx = 1 While zz <> 0 While zz Mod 2 = 0 zz = zz \ 2 aa = (aa * aa) Mod n End While zz = zz - 1 xx = (xx * aa) Mod n End While Return xx End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)