Designing an SRAM PUF-based secret extractor for resource-constrained devices