Libraryless. Click here for Pure Java version (3909L/22K).
static byte[] randomBytes(int n) { byte[] l = new[n]; for i to n: l[i] = randomByte(); ret l; }
Began life as a copy of #1029053
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1032921 |
Snippet name: | randomBytes |
Eternal ID of this version: | #1032921/1 |
Text MD5: | f7b2a6e66feb4f6eca554efbd42e2051 |
Transpilation MD5: | a5d02cc6538842ebb1495ce789605f16 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-10 22:31:45 |
Source code size: | 105 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 132 / 198 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |