DeadFish.Lib PHP Hashing

I recently saw a post on forrst.com about safely (or as safe as possible) storing a hash of a users password.

So I figured I would share my DeadFish PHP library that implements adaptive hashes using blowfish and it’s algorithm’s keying schedule. Library is fairly simple to use while allowing users to customize it, via a simple options array.

Example / Demo: http://epicgeeks.net/deadfish/demo.php

Source: https://bitbucket.org/jnewing/deadfish-lib

Continue reading →

IDA Patcher for Windows

Not too long ago I found myself needing to patch a .dll with a .dif file produced from IDA, after a very quick and admittedly quite lazy google turned up nothing I decided I needed to just write a quick one. I figured I would share with you the result.

It’s quite simple, select the target file you wish to patch and select a .dif file with the patches you wish to make. Note: the .dif files produced by IDA need to either have their first 4 lines removed or simply add a ; to the lines with text (turning them into what my patcher sees as a comment and ignores) otherwise it expects a format of:

Example Dif File

As you can see above this .dif file would make 8 bytes changes within the specified target file.

IDAPatch (901)

WordPress Crayon Plugin

So as I’ve been designing this blog I decided I needed a good syntax highlighter as hopefully I’ll be posting lots of yummy source code for all kinds of interesting things. After a little while of searching I discovered found Crayon Syntax Highlighter by Aram Kocharyan, in short. WOW. This plugin is wonderful, uses jQuery and boasts a robust, but elegant syntax highlighting schema.

Hands down this plugin has been wonderful to use in every way, the only think I found it lacked (that I personally wanted) was the ability to pop code out of my blog into a another window, as you can see this blog is very thin and makes for lack luster code reading. After a quick contact with the plugin’s author low and behold the same day he build the feature into the plugin. How’s that for service!

Finally I built my own theme, for here at epicgeeks.net however I’ve made this theme available for download here: Epicgeeks Crayon Theme (426)

Using PKs C# to PHP

So lately I’ve been seeing more and more C# application talking to the web, web interaction and applications is something that can be beneficial to both the end user and the developer making a plethora of things simpler and streamlined. However while talking two and from you application one needs to make sure the information is secure at all times.

There are several methods to doing this, and one way is using public, private key-pair cryptography. In the example below I’ve shown a PHP script that is able to talk to a C# application using an openssl public, private key-pair.

In this post I’ve included Continue reading →