Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7999367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:29:10+00:00 2026-06-04T15:29:10+00:00

Now I know that just putting an array with 16 digits is too much

  • 0

Now I know that just putting an array with 16 digits is too much for arrays and it will give an answer but for a cybersecurity class I wish to gain access to routers around my neighborhood.

I won’t mess with them but I serve to prove a point and all the routers are the same thanks to living in the middle of nowhere. They are 16 digits long.

So can anyone help me solve how I would get 16 digits together and create it all in a txt file?

What I want to do is create a new file, and then make things that would make it so that it is a dictionary-type in that it has every number of 0000000000000000 -> 9999999999999999.

The creating of the file is no problem for me, but how would I create this dictionary of numbers with a 16 number sequence?

Edit: I thought about splitting it up into 4 4 digit things but I am unsure how I would make sure that they are a) not the same number as before and b), make a space after the sixteenth digit is in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:29:11+00:00Added an answer on June 4, 2026 at 3:29 pm

    First, your number (99…9) has 16 digits. In term of data type in Java, it about 53 bit (<64 bit so far) so it is an long

    But, assume that each number is 64 bit.
    So the file size could be size = (99..99) (number) * 64 (bit per number) = 73k Tera Byte (impossible to store in a text file in normal way!)

    So you should consider another way (?)

    Furthermore, you can not declare long l = 999999999999999; because the compiler got the error (integer number to large), but this works: long l = Long.parseLong("9999999999999999");

    Hope this can help you !


    Edit: Declare by long l = 9999999999999999999l; (l can be both upper and lower case, thanks @Tom)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that .live() is now deprecated but I cannot seem to change it
Language Integrated Query. Now I know that the acronyms are. I have seen C#
Now while I know that you can not perform inheritance like you would in
So I know now that the debug assemblies have been intentionally left out of
I know that .NET assembly is self-descriptive because of the metadata. Now suppose I
I know that finish() returns your activity back to your previous activity. Now I
I have played around with Scala for a while now, and I know that
Now that I know I can no longer communicate with Twitter mashups out there,
What i know as of now that a constructor is called when an object
Now that Google Earth has been released for Android 2.1, does anyone know what,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.