All posts in Misc.

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 →

HashIt C++ (Source Code)

So here is a little app I’ve been calling HashIt it’s a simple rehash / resigner for Windows, Linux and Mac and I’ve included the source as well.

This all kind of came into play as decided I wanted to learn more about STFS and what better way to make a quick and clean rehash /resigner its written in C++ and should work on all platforms.

This does not come with any official support but I’d be happy to try and answer any question you may have.

Hashit (2759)

Also here is now a binary for Intel Mac

Hashit Mac (447)

Updates…

So first up I’m taking a bit of time to play with the site layout of zeropair.com. It’s something I’ve been meaning to do for a while now and finally got around to it.

Updates on the Fallout Qt front, well it’s ready to keep it short, however I’m not releasing it yet as there are a few things to add, tweak and play with. This is in progress and with that I realize that there are currently no nice rehash/resigners for Linux and Mac. I’m working on a solution to this. I’ve not yet named my project but I’ve created a rehash/resigner for CON files currently it’s running on Windows, and Mac I’ve not looked at Linux yet but that will be coming.

I would like the release of this CON file rehash/resigner to coincide with FalloutQt for obvious reasons. As both projects will compliment each other nicely.

STFS Block Busting

So while playing around with the small block nands on the XBOX 360 I also decided it would be a good idea to expand my knowledge of the Secure Transfer File System (STFS) and created a nice c++ class that breaks out STFS files into “data blocks” and “hash blocks” at a size of 0×1000 data bytes to 0×18 hash bytes per each.

So each data block is stored in the data_blocks List withing the STFS class and that data blocks corresponding hash is stored within the hash_blocks List. (eg: data_block[0] would be a unsigned char[0x1000] and its corresponding unsigned char[0x18] hash would be in hash_blocks[0]) remembering that the hash block is 0×18 bytes long where as the hash itself is only the first 0×14 bytes.

Continue reading →