I've used schemes like "concatenate a shared secret, millisecond resolution times, local autoinc ID, and some sort of distributed machine identifier (like ip address or MAC address), then taken a truncated hash of that with as many bits as needed for the desired uniqueness guarantees."
I wouldn't use it for assigning bank account numbers, but for most web or app stuff it's fine.
I wouldn't use it for assigning bank account numbers, but for most web or app stuff it's fine.