When it is possible to pass a size to the hashcube method this should be an argument with a size of 512 in order to ensure that we can generate more or less arbitrarily large hashes.
Actually, we can never be sure of the length of the hash algorithm as it is separated from the library. The length issue should be handled inside the library by generating a new hash based on the current one.
When it is possible to pass a size to the hashcube method this should be an argument with a size of 512 in order to ensure that we can generate more or less arbitrarily large hashes.