A PUF based on transient effect ring oscillator and insensitive to locking phenomenon