Lock goes in root now.

This commit is contained in:
Adam Ierymenko 2022-06-30 15:03:03 -04:00
parent 18fd4948e5
commit a6d298e536
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
2 changed files with 2 additions and 1060 deletions

View file

@ -1,3 +1,5 @@
// (c) 2020-2022 ZeroTier, Inc. -- currently propritery pending actual release and licensing. See LICENSE.md.
// from zeronsd
pub fn randstring(len: u8) -> String {
(0..len).map(|_| (rand::random::<u8>() % 26) + 'a' as u8).map(|c| if rand::random::<bool>() { (c as char).to_ascii_uppercase() } else { c as char }).map(|c| c.to_string()).collect::<Vec<String>>().join("")

File diff suppressed because it is too large Load diff