Module Stegno_algorithm Public userId As String Public userName As String Public cn As ADODB.Connection 'Public cn As ADODB.

Connection 'Data hiding algorithm for multispectral imagery data Public Function Crypt(ByVal s_text As String) s_text = Replace(s_text, "0", "%r", , , vbBinaryCompare) s_text = Replace(s_text, "1", "#g", , , vbBinaryCompare) s_text = Replace(s_text, "2", "1$", , , vbBinaryCompare) s_text = Replace(s_text, "3", "j~", , , vbBinaryCompare) s_text = Replace(s_text, "4", "j#", , , vbBinaryCompare) s_text = Replace(s_text, "5", "3?", , , vbBinaryCompare) s_text = Replace(s_text, "6", "*t", , , vbBinaryCompare) s_text = Replace(s_text, "7", "u@", , , vbBinaryCompare) s_text = Replace(s_text, "8", "n!", , , vbBinaryCompare) s_text = Replace(s_text, "9", "&x", , , vbBinaryCompare) s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, Replace(s_text, "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "1!", "2@", "3#", "4$", "5$", "7*", "9#", "0#", "4@", "7#", "8^", "0^", "5%", "a%", "e$", "f5", "6$", "h&", "0.", "e`", "4r", "7@", "f^", "t%", "g@", "h0", , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare) vbBinaryCompare)

".2", , , vbBinaryCompare) ".3", , , vbBinaryCompare) ".4", , , vbBinaryCompare) ".5", , , vbBinaryCompare) ".6", , , vbBinaryCompare) ".7", , , vbBinaryCompare) ".8", , , vbBinaryCompare) ".9", , , vbBinaryCompare) ".0/", , , vbBinaryCompare) ".1", , , vbBinaryCompare) "/3", , , vbBinaryCompare)

vbBinaryCompare) s_text = Replace(s_text. "z". "W".4". . vbBinaryCompare) ". Replace(s_text. vbBinaryCompare) "/3". "Z". . "a%". "V". "P". . . "K". . "X". . . vbBinaryCompare) s_text = Replace(s_text. "0#".1". vbBinaryCompare) ". . "O". . "U". "y". . vbBinaryCompare) s_text = Replace(s_text. . ". vbBinaryCompare) s_text = Replace(s_text. . . .s_text = Replace(s_text. "Y". .2". . vbBinaryCompare) s_text = Replace(s_text. "/5". . Replace(s_text. "h&". "h". ". "4r". ". vbBinaryCompare) ".7". . vbBinaryCompare) s_text = Replace(s_text. . . "H". . "g@". . . . Replace(s_text. . . vbBinaryCompare) s_text = Replace(s_text. . vbBinaryCompare) s_text = Replace(s_text. . "g". . . . . vbBinaryCompare) ". . "7#". . vbBinaryCompare) ". . . Replace(s_text. . . . . .8". "h0". "/7". "6#". vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) "/7". . "b". .9". . . "S". vbBinaryCompare) s_text = Replace(s_text. . . "o". Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) . . "L". vbBinaryCompare) s_text = Replace(s_text. "a". "d". "8^".3". .5".7". vbBinaryCompare) s_text = Replace(s_text.4". "c". ". vbBinaryCompare) s_text = Replace(s_text. "/9". . "e`". vbBinaryCompare) ". . Replace(s_text. "A". "/0". "/2". "D". vbBinaryCompare) s_text = Replace(s_text. . vbBinaryCompare) s_text = Replace(s_text. "f". "0^". Replace(s_text. "r". "7@". ". vbBinaryCompare) s_text = Replace(s_text. "v". "E". . "B". . . . vbBinaryCompare) s_text = Replace(s_text. "I". . "2@". vbBinaryCompare) s_text = Replace(s_text.0/". vbBinaryCompare) s_text = Replace(s_text. . "q". . . vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. . vbBinaryCompare) s_text = Replace(s_text. Replace(s_text.6". . . . "u". . ". vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. "Q". "4@". vbBinaryCompare) s_text = Replace(s_text. Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. "m". . Replace(s_text. "M". .". . . "F". "5%". vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. . "J". . "C". . "T". vbBinaryCompare) s_text = Replace(s_text. . "L". . Replace(s_text. "i". vbBinaryCompare) s_text = Replace(s_text. . vbBinaryCompare) ". . "k". "0. vbBinaryCompare) "/5". . .6". "1!". . . "6$". . .2". . "3#". "/8/". "s". "f5". vbBinaryCompare) ". "5$". vbBinaryCompare) ". . Replace(s_text. "9#". . "f^". . "/6". "M". . "/4". . . "G". . . vbBinaryCompare) s_text = Replace(s_text. . "e". . . . . vbBinaryCompare) s_text = Replace(s_text. . . "R". . "N". vbBinaryCompare) Crypt = s_text End Function Public Function Decrypt(ByVal s_text As String) s_text = Replace(s_text. Replace(s_text. "w". "p". vbBinaryCompare) s_text = Replace(s_text.0/". "7*". "4$". vbBinaryCompare) "/9". "l". . . . "d". vbBinaryCompare) s_text = Replace(s_text. . . . . . "t". . . vbBinaryCompare) s_text = Replace(s_text. "N". vbBinaryCompare) s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text = = = = = = = = = = = = = = Replace(s_text. . "j". "/1". "n". . "e$". ". "x". vbBinaryCompare) s_text = Replace(s_text. . vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. "t%".3".

"T". 1)) Xor Asc(Mid(Text.OLEDB. . . . vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) "/0". "5". Replace(s_text. "6". . vbBinaryCompare) "/2". "9".s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text s_text = = = = = = = = = = = = Replace(s_text. . vbBinaryCompare) ". vbBinaryCompare) s_text = Replace(s_text. .Open(strCN. . i. vbBinaryCompare) s_text = Replace(s_text. "2".0. "3". vbBinaryCompare) s_text = Replace(s_text. "n!". vbBinaryCompare) ". "u@". "Admin") 'log. 1)) ) Next i End Function Public Sub cnt() cn = New ADODB. "W". "3?". "Y". vbBinaryCompare) s_text = Replace(s_text. . .3". . Replace(s_text. Replace(s_text. vbBinaryCompare) s_text = Replace(s_text. . vbBinaryCompare) s_text = Replace(s_text. "j~". "O". Replace(s_text. vbBinaryCompare) "/6". "1$". .4. . .6".Connection Dim strCN As String strCN = "Provider=Microsoft. . vbBinaryCompare) "/8/". . . "Q". . vbBinaryCompare) Decrypt = s_text End Function Public Function Encrypt(ByVal Text As String. . "%r". vbBinaryCompare) ". "j#". . "4".Show() End Sub End Module . vbBinaryCompare) ". "R". . "/1". . . "#g".4". Replace(s_text. ." & _ "Data Source=MyData. vbBinaryCompare) ". "S". . Replace(s_text. "U".2". "Z". . . "7".Persist Security Info=False" cn. . . . . a As Integer For i = 1 To Len(Text) a = i Mod Len(Key) : If a = 0 Then a = Len(Key) Encrypt = Encrypt & Chr(Asc(Mid(Key. Replace(s_text. vbBinaryCompare) "/4". . Replace(s_text. "*t". . a. . . "1".0/".mdb. "&x". ByVal Key As String) As String Dim i. .Jet. "0". "8". . Replace(s_text. . vbBinaryCompare) s_text = Replace(s_text. vbBinaryCompare) s_text = Replace(s_text.7". "V". Replace(s_text. vbBinaryCompare) ". . "P". . Replace(s_text. . . . . "X". vbBinaryCompare) s_text = Replace(s_text.

Sign up to vote on this title
UsefulNot useful