codesimian
Class Hash

java.lang.Object
  extended by codesimian.Hash

public class Hash
extends java.lang.Object

a hash is a 1-way function that is very hard to reverse. Given the hash output, you should not be able to calculate any input that would produce that output.


Constructor Summary
Hash()
           
 
Method Summary
static byte[] hashABToAB(byte[] input, int returnedArraySize)
           
static java.lang.String hashABToStrBase16(byte[] input, int returnedArraySize)
           
static byte[] hashStrBase256ToAB(java.lang.String hashMe, int returnedArray)
           
static java.lang.String hashStrBase256ToStrBase16(java.lang.String hashMe, int returnedStringSize)
           
static java.lang.String hashStrBase256ToStrBase16Abc(java.lang.String hashMe, int returnedStringSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hash

public Hash()
Method Detail

hashABToAB

public static byte[] hashABToAB(byte[] input,
                                int returnedArraySize)

hashABToStrBase16

public static java.lang.String hashABToStrBase16(byte[] input,
                                                 int returnedArraySize)

hashStrBase256ToStrBase16Abc

public static java.lang.String hashStrBase256ToStrBase16Abc(java.lang.String hashMe,
                                                            int returnedStringSize)

hashStrBase256ToStrBase16

public static java.lang.String hashStrBase256ToStrBase16(java.lang.String hashMe,
                                                         int returnedStringSize)

hashStrBase256ToAB

public static byte[] hashStrBase256ToAB(java.lang.String hashMe,
                                        int returnedArray)