UDA: Generates a random number between 1 and 7 digits. It uses the Security APIs and should work on any OS.