MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / getWrapperNonce

Method getWrapperNonce

src/Ui/UiRequest.py:519–522  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

517
518 # Create a new wrapper nonce that allows to get one html file without the wrapper
519 def getWrapperNonce(self):
520 wrapper_nonce = CryptHash.random()
521 self.server.wrapper_nonces.append(wrapper_nonce)
522 return wrapper_nonce
523
524 def getScriptNonce(self):
525 if not self.script_nonce:

Callers 2

renderWrapperMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected