Protecting against reverse lookup table attacks