Comparing onewire 4x4 keypad password

I've found the codes with the keypad library (#include <Keypad.h>) and its working but i want to use one analog pin of arduino to attiny85 and i have Zero experience of c++ programming