emscrypt and replay attacks