Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1032921 // randomBytes

JavaX fragment (include) [tags: use-pretranspiled]

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;
}

Author comment

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: 131 / 197
Referenced in: [show references]