The _______ package in Go provides support for hashing and encryption functions commonly used in authentication.
- crypto
- encoding
- net
- fmt
The correct option is crypto. The crypto package in Go provides implementations for various cryptographic functions, including hashing and encryption, which are essential for authentication systems.
Loading...
Related Quiz
- Which NoSQL database is known for its document-oriented approach and is commonly used for its flexibility and scalability?
- The _______ method in the database/sql package is used to execute a SQL query that returns rows.
- When mocking an interface, it's crucial to ensure that the mock object _____ the real object's behavior accurately.
- How does the 'recover' function contribute to error handling in Go?
- How would you optimize the performance of Go code that frequently interacts with a database?