mirror of
https://github.com/KyleBanks/XOREncryption.git
synced 2023-08-10 21:13:15 +03:00
Comments Improvements
This commit is contained in:
parent
704660bee4
commit
22e8bd593b
@ -21,8 +21,8 @@
|
|||||||
Dim output As Char() = New Char(input.Length - 1) {}
|
Dim output As Char() = New Char(input.Length - 1) {}
|
||||||
For i As Integer = 0 To input.Length - 1
|
For i As Integer = 0 To input.Length - 1
|
||||||
output(i) = ChrW(AscW(input(i)) Xor AscW(key(i Mod key.Length)))
|
output(i) = ChrW(AscW(input(i)) Xor AscW(key(i Mod key.Length)))
|
||||||
'CharW(CharCode As Integer) As Char : Returns the character associated with the specified character code
|
'ChrW(CharCode As Integer) As Char (Unicode) : Returns the character associated with the specified character code
|
||||||
'AscW([String] As Char) As Integer : Returns an integer value representing the character code corresponding to a character
|
'AscW([String] As Char) As Integer (Unicode) : Returns an integer value representing the character code corresponding to a character
|
||||||
Next
|
Next
|
||||||
Return New String(output)
|
Return New String(output)
|
||||||
End Function
|
End Function
|
||||||
|
Loading…
Reference in New Issue
Block a user