Microsoft
Software
Hardware
Network
Question : MD5 Hash
Why is it that the last 2 bytes of the hash value are always "="?
This is how I tested it:
Dim MD5 As New System.Security.Cryptograp
hy.MD5Cryp
toServiceP
rovider
Console.WriteLine(Convert.
ToBase64St
ring(MD5.C
omputeHash
(System.Te
xt.ASCIIEn
coding.ASC
II.GetByte
s("test"))
))
Am I doing something wrong?
Answer : MD5 Hash
Because base 64 encodes 3 bytes in 4 characters and pads to a multiple of 4 characters
Random Solutions
Printing to a specific printer
Find \Device\Harddisk1\Partitio<wbr />n1 in Windows NT 4.0 (bad sectors)
List all city names with no repeats
C# - operation on date
DELL Remote Floppy Boot Disk
Does Access 2007 still have the 2mb limitation.
Get Year from Date in SQL Statement
Integrity check job fails: sqlmaint.exe SQLSTATE 4200, Error 22029
Query question - difference in single table
Windows 2008 Licensing question...