Archive for the ‘Microsoft Visual C# .NET’ Category
-
The Hash Class
Monday, November 9th, 2009
I’ve been working on a C# Library to make hashing strings an easy (and fun?) task. I’ll show you the very basic bare-bones usage here:
Hashing mudkipz = new Hashing();
string m5 = mudkipz.md5("So, I herd u liek mudkipz.");
string s1 = mudkipz.sha1("So, I herd u liek mudkipz.");
string s256 = mudkipz.sha256("So, I herd u liek mudkipz.");
string s384 = [...] -
How to use MD5 and SHA in C#
Thursday, July 16th, 2009
EDIT: To remove the ‘-’ in the hashes, replace your ‘return’ line with this:
Regex.Replace(BitConverter.ToString(hashedBytes), “-”, “”);
Hashing in C# is quite a bit different then languages like PHP. In PHP to hash a string via MD5 you would simply use the md5 function as so:
md5(“string”)
Let’s stop complaining and get right down to it.
Create a new Console [...] -
3GS & WPF Apps in the System Tray
Tuesday, July 7th, 2009
http://gizmodo.com/5307693/iphone-3gs-unlocked-with-purplera1n-%252B-ultrasn0w
http://tippu.blog.co.in/2009/03/09/wpf-placing-your-wpf-application-on-the-system-tray/
First, I just learned that the 3GS is now jailbreakable with publically accessable tools for both Windows and Mac. I don’t have one, but this is great news. The iPhone Dev-Team Blog also has a post regarding the release of their own version of the jailbreak. There’s more to it than this but if you [...] -
WPF vs. Windows Forms « Josh Smith on WPF
Monday, June 8th, 2009
WPF vs. Windows Forms « Josh Smith on WPF.
I’ve always wondered about those two options in Microsoft Visual C# .NET The question of whether to use WinForms (Windows Forms) or WPF (Windows Presentation Foundation). The above blog post has given me the answer.
Just wanted to share it with you. I hope any of [...]
