1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/crypto/rand/rand.v

14 lines
309 B
V
Raw Normal View History

2022-01-04 12:21:08 +03:00
// Copyright (c) 2019-2022 Alexander Medvednikov. All rights reserved.
2019-07-31 04:24:12 +03:00
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module rand
struct ReadError {
Error
}
pub fn (err ReadError) msg() string {
return 'crypto.rand.read() error reading random bytes'
}