Below you will see some of the most common methods of the Hash interface. Match each method with its correct definition.
Hashing strings and files
Hash interface methods
Report a typo
Match the items from left and right columns
Write()Sum()Reset()Resets the hash to one with zero bytes written
Appends a slice of bytes to the current hash and returns the resulting slice
Takes a slice of bytes as an argument and adds it to the hash that will be calculated
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.