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

Method getScriptNonce

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

Source from the content-addressed store, hash-verified

522 return wrapper_nonce
523
524 def getScriptNonce(self):
525 if not self.script_nonce:
526 self.script_nonce = CryptHash.random(encoding="base64")
527
528 return self.script_nonce
529
530 # Create a new wrapper nonce that allows to get one site
531 def getAddNonce(self):

Callers 5

actionWrapperMethod · 0.95
actionWrapperMethod · 0.80
actionWrapperMethod · 0.80
actionWrapperMethod · 0.80
actionWrapperMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected