Want to know about the small pendrive like thing which changes the numbers constantly

Jul 14, 2018
1
0
10
I want to know about the thing which generated alternative digits and kept on changing....I saw it when my uncle used with his laptop...