« on: June 09, 2015, 10:50:08 pm »
While we're at it, you also misunderstand prefacing.
It just so happens the government uses AES a lot, so I would use that with [as random as you can make them] salts and seeds, as well as making sure the key is as random as you can make it, while also making it long enough for a hash cracker to be useless. As far as I know, if you can get ahold of a hash of a small enough key, you can just bruteforce the hash and get the key easily. But, because the size of any hash is cut off, only part of the key could even be recovered if you got ahold of a hash for a very long key. Or, it would be a useless chain of characters, depending on whether length had anything to do with the hash encryption algorithm. I forget exactly how that works.