A method for testing a memory includes a test pattern generated by a hash
algorithm. The test pattern is written into the memory and then is read
from the memory. Next, the hash algorithm generates a signature using the
test pattern read from the memory. Subsequently, the memory is verified
by comparing the signature to a reference signature.