Question

In: Computer Science

While Base64 is a weak encryption standard it is still used to provide a basic means...

While Base64 is a weak encryption standard it is still used to provide a basic means of encryption for email servers. Answer the following questions and provide a discussion about the Base64 Encryption Standard. Remember the initial posting is 100 words or more, and the replies are 60 words or more.

What is Base64?

Name two Services that use Base64?

Why is Base64 still used?

Solutions

Expert Solution

Basically Base64 converts a string of bytes into a string of ASCII characters so that they can be safely transmitted within HTTP headers. a byte consists of 8 bits. When encoding, Base64 will divide the string of bytes into groups of 6 bits and each group will map to one of 64 characters. These 64 characters are in the Base64 character table.

If the string of bytes cannot be divided into an exact number of groups of 6 bits, padding will be involved so that the padded string will be groups of 24 bits and then the encoding will be applied to the padded string. If a group of 6 bits is fully padded(doesn't contain any bit from the original bit), it will be mapped to "=" in the encoded string.

(1) What is Base64?

Base64 is such an encoding algorithm. It merely encodes arbitrary data using only ASCII characters, which is useful in many situations in which non-ASCII characters may not be handled correctly.

(2) Why Base64 is still used?

If I want to send

Hello
world!

One way is to send it in ASCII like

72 101 108 108 111 10 119 111 114 108 100 33

But byte 10 might not be interpreted correctly as a newline at the other end. So, we use a subset of ASCII to encode it like this

83 71 86 115 98 71 56 115 67 110 100 118 99 109 120 107 73 61 61

which at the cost of more data transferred for the same amount of information ensures that the receiver can decode the data in an intended way, even if the receiver happens to have different interpretations for the rest of the character set.

(3) Name two Services that use Base64?

MIMI

UTF-7


Related Solutions

GAAP is the accounting standard used in the US, while IFRS is the accounting standard used...
GAAP is the accounting standard used in the US, while IFRS is the accounting standard used in over 110 countries around the world. GAAP is considered more rules based and IFRS is more principles based. Which standard do you feel is best suited for the US and if the SEC decides to switch over to IFRS how will that affect US companies?
Discuss how different types of encryption systems work, and explain how digital signatures provide the means...
Discuss how different types of encryption systems work, and explain how digital signatures provide the means for creating legally-enforceable contracts.
Data Encryption Standard (DES) is insecure because of the size of the encryption key. Advanced Encryption...
Data Encryption Standard (DES) is insecure because of the size of the encryption key. Advanced Encryption Standard (AES) is the current NIST standard for encryption and is used in most applications. Explain the differences between the following concepts as they apply to both algorithms. Concept DES AES S-BOX Permutation Key Size
My question below Write a complete program that performs encryption/decryption of a text file. Encryption means...
My question below Write a complete program that performs encryption/decryption of a text file. Encryption means you need to scramble the words of a file to become secure. Decryption means you need to apply some rules to an encrypted file in order to find the original file with its original content. An example of encryption is to replace each letter in a file with its consecutive letter in the alphabet. Therefore, ‘a’ is replaced by ‘b’, ‘b’ is replaced by...
What are two types of encryption for wireless networks? Which encryption standard is considered to be...
What are two types of encryption for wireless networks? Which encryption standard is considered to be more secure? Why? The property written in the format 00:00:00:0A:0B:0C for a device is called its ______________. Why should you disable the SSID on a wireless network? What is an evil twin attack? Why would you disable a Bluetooth device when you are in a public place? What happens when you jailbreak or root a device? What potential problems are caused by jailbreaking or...
The term "Big Data" is used so often today, but some still don't have a basic...
The term "Big Data" is used so often today, but some still don't have a basic understanding of the term. This discussion aims to provide a simple definition of the term that you can use in everyday discussion. Once you've read this posting, share with us your thoughts about big data. Is it good? Is it evil? What potential benefits do you see? Is there any ethical responsibility that goes along with use of this data? Happy learning and Posting!...
An equity long position means ___, while short position means _____.
An equity long position means ___, while short position means _____.
USE C++: Encryption and Decryption are two cryptographic techniques. Encryption is used to transform text to...
USE C++: Encryption and Decryption are two cryptographic techniques. Encryption is used to transform text to meaningless characters, and decryption is used to transform meaningless characters into meaningful text. The algorithm that does the encryption is called a cipher. A simple encryption algorithm is Caesar cipher, which works as follows: replace each clear text letter with a letter chosen to be n places later in the alphabet. The number of places, n, is called the cipher key. For example, if...
Regression analysis is often used to provide a means to express the relationship between one or...
Regression analysis is often used to provide a means to express the relationship between one or more input variables and a result. It is easy to plot in Excel (“add trendline”) so is found frequently in business presentations. Your company has made a model with 10 different factors measured from past years’ and states based upon the model, the company expects to make a 23 million dollar profit next year. Discuss possible concerns with banking on the 23 million dollar...
Regression analysis is often used to provide a means to express the relationship between one or...
Regression analysis is often used to provide a means to express the relationship between one or more input variables and a result. It is easy to plot in Excel (“add trendline”) so is found frequently in business presentations. Your company has made a model with 10 different factors measured from past years’ and states based upon the model, the company expects to make a 23 million dollar profit next year. Discuss possible concerns with banking on the 23 million dollar...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT