ByteArray needs to allow to hash itself in order to be usable for RandomGenerator...