Uniform Last-Digit Hash Functions of the Form x to a Power mod 10

Company: Eternal_1oct

Difficulty: medium