-->

  • How do you calculate bytes?


    How do you calculate bytes? by hacking truth

     



    Bit


    • A "bit" is atomic: the smallest unit of storage
    • A bit stores just a 0 or 1
    • "in the computer it's all 0's and 1's bits
    • Anything with two separate states can store 1 bit
    • In a chip: electric charge = 0/1
    • In a hard drive: spots of North/South magnestism = 0/1
    • A bit is too small to be much use
    • Greoup 8 bits together to make 1 byte



    NOTE :- Everything in a computer is 0's and 1's. The bit stores just a 0 or 1: It's the smallest building block of storage.





    Byte



    • One byte = collection of 8 bits
    • eg. 0 1 0 1 0 1 0
    • One byte can store one character , eg. 'A' or 'x' or '$'





    How do you calculate bytes?

    The calculations is based on:


    In the cases when used to describe data storage bits/bytes are calculated as follows:



        1 byte = 8 bits
        1 kilobyte (K / Kb) = 2^10 bytes = 1,024 bytes
        1 megabyte (M / MB) = 2^20 bytes = 1,048,576 bytes
        1 gigabyte (G / GB) = 2^30 bytes = 1,073,741,824 bytes
        1 terabyte (T / TB) = 2^40 bytes = 1,099,511,627,776 bytes
        1 petabyte (P / PB) = 2^50 bytes = 1,125,899,906,842,624 bytes
        1 exabyte (E / EB) = 2^60 bytes = 1,152,921,504,606,846,976 bytes



    The period (.) is used as decimal separator.




    How many digits are in 8 bytes?


    Eight bytes contain 64 bits of information, so you can store 2^64 ~ 10^20 unique items using those bits. Those items can easily be interpreted as the integers from 0 to 2^64 - 1 . So you cannot store 302 decimal digits in 8 bytes; most numbers between 0 and 10^303 - 1 cannot be so represented. How do you calculate bytes?





    Disclaimer

     

    This was written for educational purpose and pentest only.
    The author will not be responsible for any damage ..!
    The author of this tool is not responsible for any misuse of the information.
    You will not misuse the information to gain unauthorized access.
    This information shall only be used to expand knowledge and not for causing  malicious or damaging attacks. Performing any hacks without written permission is illegal ..!


    All video’s and tutorials are for informational and educational purposes only. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. We believe that it is impossible to defend yourself from hackers without knowing how hacking is done. The tutorials and videos provided on www.hackingtruth.in is only for those who are interested to learn about Ethical Hacking, Security, Penetration Testing and malware analysis. Hacking tutorials is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used.


    All tutorials and videos have been made using our own routers, servers, websites and other resources, they do not contain any illegal activity. We do not promote, encourage, support or excite any illegal activity or hacking without written permission in general. We want to raise security awareness and inform our readers on how to prevent themselves from being a victim of hackers. If you plan to use the information for illegal purposes, please leave this website now. We cannot be held responsible for any misuse of the given information.



    - Hacking Truth by Kumar Atul Jaiswal



    I hope you liked this post, then you should not forget to share this post at all.
    Thank you so much :-)




  • 0 comments:

    Post a Comment

    For Any Tech Updates, Hacking News, Internet, Computer, Technology and related to IT Field Articles Follow Our Blog.