MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / getNonce

Method getNonce

frontend/src/webview.ts:658–665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

656 }
657
658 private getNonce(): string {
659 let text = '';
660 const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
661 for (let i = 0; i < 32; i++) {
662 text += possible.charAt(Math.floor(Math.random() * possible.length));
663 }
664 return text;
665 }
666}

Callers 1

getHtmlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected