xtoolbox 0.1.2

This is a constantly changing toolbox, and there are often function names like php,python,golang,js,dart because I'm used to using these names, so that's it
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crypto::digest::Digest;
use crypto::md5::Md5;
use uuid::Uuid;

pub fn md5<S: Into<String>>(input: S) -> String {
    let mut md5 = Md5::new();
    md5.input_str(&input.into());
    md5.result_str()
}

pub fn get_guid() -> String {
    Uuid::new_v4().to_string()
}