| 1 | // Copyright (c) 2019-2024 Alexander Medvednikov. All rights reserved. |
| 2 | // Use of this source code is governed by an MIT license |
| 3 | // that can be found in the LICENSE file. |
| 4 | module rand |
| 5 | |
| 6 | // read returns an array of `bytes_needed` random bytes read from the OS. |
| 7 | pub fn read(bytes_needed int) ![]u8 { |
| 8 | return error('rand.read is not implemented on this platform') |
| 9 | } |
| 10 |