Proof of retrievability with public verifiability resilient against related-key attacks