5 3281
Oh, i known, if encrypt the string again, it will return the unencrypted
string.
Thank you
"yxq" <ga***@163.net> дÈëÏûÏ¢ÐÂÎÅ:ut****************@TK2MSFTNGP15.phx.g bl... Hello, I want to encrypt and decrypt using ROT13, found a class to encrypt string, but where is the decrypter?
http://authors.aspalliance.com/brett...sp#CodeSamples
Thank you
In Registry, the
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count
Key encrypted by ROT13, what meaning about the REG_BINARY value? i guess it
is date/Time
Thank you
"yxq" <ga***@163.net> дÈëÏûÏ¢ÐÂÎÅ:%2****************@TK2MSFTNGP09.phx.g bl... Oh, i known, if encrypt the string again, it will return the unencrypted string.
Thank you
"yxq" <ga***@163.net> дÈëÏûÏ¢ÐÂÎÅ:ut****************@TK2MSFTNGP15.phx.g bl... Hello, I want to encrypt and decrypt using ROT13, found a class to encrypt string, but where is the decrypter?
http://authors.aspalliance.com/brett...sp#CodeSamples
Thank you
Key encrypted by ROT13, what meaning about the REG_BINARY value? i guess it is date/Time
It can hold any binary data, and is returned as a byte array to
managed code.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Here's a ROT13 Function that I have converted from one of my old VB6
projects, which you can use. It can be converted a little more, if you want,
but it doesn't need to:
Public Function Rot13(ByVal sInString As String) As String
Dim intPointer As Integer = 1
Dim strNewChar As String
While intPointer <> sInString.Length
System.Windows.Forms.Application.DoEvents()
Select Case Asc(Mid(sInString, intPointer, 1))
Case 65, 97
strNewChar = "N"
Case 66, 98
strNewChar = "O"
Case 67, 99
strNewChar = "P"
Case 68, 100
strNewChar = "Q"
Case 69, 101
strNewChar = "R"
Case 70, 102
strNewChar = "S"
Case 71, 103
strNewChar = "T"
Case 72, 104
strNewChar = "U"
Case 73, 105
strNewChar = "V"
Case 74, 106
strNewChar = "W"
Case 75, 107
strNewChar = "X"
Case 76, 108
strNewChar = "Y"
Case 77, 109
strNewChar = "Z"
Case 78, 110
strNewChar = "A"
Case 79, 111
strNewChar = "B"
Case 80, 112
strNewChar = "C"
Case 81, 113
strNewChar = "D"
Case 82, 114
strNewChar = "E"
Case 83, 115
strNewChar = "F"
Case 84, 116
strNewChar = "G"
Case 85, 117
strNewChar = "H"
Case 86, 118
strNewChar = "I"
Case 87, 119
strNewChar = "J"
Case 88, 120
strNewChar = "K"
Case 89, 121
strNewChar = "L"
Case 90, 122
strNewChar = "M"
Case Else
strNewChar = Mid(sInString, intPointer, 1)
End Select
If IsUpperCase(Mid(sInString, intPointer, 1)) Then
Mid(sInString, intPointer, 1) = strNewChar
Else
Mid(sInString, intPointer, 1) = strNewChar.ToLower
End If
intPointer += 1
End While
Return sInString
End Function
I hope this is of help to you
Thank you, but i have Rot13 function.
When you click the desktop icons, the date and time will be loged to
Registry in XP.
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count
The date and time wrote to binary value(16 bytes)
i.e. 09 00 00 00 07.... (i think the binary value encrypted).
But you can add a key to let XP will not encrypt the keyname and value
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\UserAssist\Settings
Add Dword value "NoEncrypt" and set to 1
I dont know how to recover the date and time from the binary value.
Please view http://www.velasco.com.br/explorer_spy.txt
"Crouchie1998" <Cr**********@discussions.microsoft.com> дÈëÏûÏ¢ÐÂÎÅ:CC**********************************@ microsoft.com... Here's a ROT13 Function that I have converted from one of my old VB6 projects, which you can use. It can be converted a little more, if you want, but it doesn't need to:
Public Function Rot13(ByVal sInString As String) As String
Dim intPointer As Integer = 1 Dim strNewChar As String
While intPointer <> sInString.Length System.Windows.Forms.Application.DoEvents() Select Case Asc(Mid(sInString, intPointer, 1)) Case 65, 97 strNewChar = "N" Case 66, 98 strNewChar = "O" Case 67, 99 strNewChar = "P" Case 68, 100 strNewChar = "Q" Case 69, 101 strNewChar = "R" Case 70, 102 strNewChar = "S" Case 71, 103 strNewChar = "T" Case 72, 104 strNewChar = "U" Case 73, 105 strNewChar = "V" Case 74, 106 strNewChar = "W" Case 75, 107 strNewChar = "X" Case 76, 108 strNewChar = "Y" Case 77, 109 strNewChar = "Z" Case 78, 110 strNewChar = "A" Case 79, 111 strNewChar = "B" Case 80, 112 strNewChar = "C" Case 81, 113 strNewChar = "D" Case 82, 114 strNewChar = "E" Case 83, 115 strNewChar = "F" Case 84, 116 strNewChar = "G" Case 85, 117 strNewChar = "H" Case 86, 118 strNewChar = "I" Case 87, 119 strNewChar = "J" Case 88, 120 strNewChar = "K" Case 89, 121 strNewChar = "L" Case 90, 122 strNewChar = "M" Case Else strNewChar = Mid(sInString, intPointer, 1) End Select
If IsUpperCase(Mid(sInString, intPointer, 1)) Then Mid(sInString, intPointer, 1) = strNewChar Else Mid(sInString, intPointer, 1) = strNewChar.ToLower End If
intPointer += 1 End While
Return sInString
End Function
I hope this is of help to you This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nel |
last post by:
Before I try and reinvent the wheel, can anyone help me with a basic routine
to hide email addresses from harvesting.
I currently use pull my page content from a db and run this ereg_replace:...
|
by: Thomas Philips |
last post by:
I'm teaching myself python and in the course of playing around with
dictionaries, I tried to create the following trivial dictionary
{1:'one', 2:'two'}
So I entered
>>> dict(1='one',2='two')...
|
by: Yan Yang |
last post by:
Hi,
I have a program and I want to test its execution time. When I run the
program, I can feel it runs about 4 mins, but the gprof only says the
accumlated time is 7.2 secs.
Then I use the...
|
by: Eirik |
last post by:
This is a little function I wrote, inspired by the thread
"Urgent HELP! required for Caesar Cipher PLEASE"
$ cat /home/keisar/bin/c/ymse/rot13.h
char rot13(char character)
{
int changed;...
|
by: Jonathan Wilson |
last post by:
Where do the values for $(VCInstallDir), $(FrameworkSDKDir),
$(FrameWorkDir), $(FrameWorkVersion) and $(VSInstallDir) (and any I have
missed) come from?
|
by: Steven T. Hatton |
last post by:
This is one of the first obstacles I encountered when getting started with
C++. I found that everybody had their own idea of what a string is. There
was std::string, QString, xercesc::XMLString,...
|
by: zhege |
last post by:
I am a beginner of C++;
I have a question about the std:string and std:cout class;
Two pieces of code:
--------------------------------
#include <iostream>
#include <string>
using namespace...
|
by: Jamie |
last post by:
Hello Newsgroup:
This is my little rant about security and why we have home directories.
You may choose to ignore it or disagree with it, that is your perogative
and I won't care, but... this...
|
by: Andy Dingley |
last post by:
I'm trying to write rot13, but to do it in a better and more Pythonic
style than I'm currrently using. What would you reckon to the
following pretty ugly thing? How would you improve it? In...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |