Add Quantum Randomness extension for Scratch#513
Add Quantum Randomness extension for Scratch#513DashDevmationsDash wants to merge 4 commits intoPenguinMod:mainfrom
Conversation
|
this could be cool |
|
Just so you're aware, extension thumbnails are in a 2:1 aspect ratio, meaning they're twice as wide as they are tall. Your thumbnail is 23:18, meaning some of your thumbnail will be cut off when loaded onto the website. This would likely include the wordmark, so I'd personally suggest redoing it. |
-Devmations-/Quantum Randomness.js
Outdated
| if (min === max) return min; | ||
| try { | ||
| const controller = new AbortController(); | ||
| const timeout = setTimeout(() => controller.abort(), 3000); |
There was a problem hiding this comment.
I'd specify a message to say that this abortion was because it got timed out.
-Devmations-/Quantum Randomness.js
Outdated
| "4. Locate your API Key section.\n\n" + | ||
| "5. Copy your Free API Key.\n\n" + | ||
| "6. Paste it into the 'Set Api Key' block.\n\n" + | ||
| "Pro Tip: Try Encoding Your Api Key Cuz In A Site Where Seeing The Code Of Projects Is As Easy As A Click Of A Button... You Will Need It" |
There was a problem hiding this comment.
Security through obscurity is not real security, it's like hiding spare keys under a rock in your yard. Sure, nobody will know it's there unless you tell them, or they scope it out, but if they know it's there, then it's pretty easy to break into your house.
There was a problem hiding this comment.
not even that. its REALLY easy to find the api key. you can just look at the network tab in inspect element.
There was a problem hiding this comment.
Dont Worry, Its Now Serialization Based, Should Fix It
There was a problem hiding this comment.
Dont Worry, Its Now Serialization Based, Should Fix It
the api key is still really easy to access from the project file itself, the webtools console (vm.runtime.anuqrngisfreakingawesome.apikey) or the webtools network tab
Added a warning message and return value on timeout.



Its Cool Ig
Name:Quantum Randomness
Desc:Use The ANU Quantum Randomness Api To Geneate True Random Numbers!
Thumb:
