Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 956
Which encoding is used to protect a username and login with RESTful API basic authentication?
Answer options
- A. Base64
- B. MD5
- C. SHA-1
- D. Type-7
Correct answer: A
Explanation
Base64 encoding is used to encode the username and password into a single string for transmission in HTTP headers during basic authentication. In contrast, MD5 and SHA-1 are cryptographic hash functions, not encodings, and Type-7 is a form of encoding used in Cisco devices for passwords, not RESTful API authentication.