v/vlib/crypto/rand/rand_default.c.v

10 lines
360 B
V
Raw Normal View History

2022-01-04 10:21:08 +01:00
// Copyright (c) 2019-2022 Alexander Medvednikov. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module rand
// read returns an array of `bytes_needed` random bytes read from the OS.
2022-04-15 14:35:35 +02:00
pub fn read(bytes_needed int) ?[]u8 {
return error('rand.read is not implemented on this platform')
}