Libraryless. Click here for Pure Java version (3909L/22K).
1 | static byte[] randomBytes(int n) {
|
2 | byte[] l = new[n]; |
3 | for i to n: l[i] = randomByte(); |
4 | ret l; |
5 | } |
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: | 348 / 455 |
| Referenced in: | [show references] |