Function ids_service::crypto_hash::create_id_as_sha256
source · pub fn create_id_as_sha256() -> String
Expand description
Single function to create an id without IdsService It use sha256 hash algorithm and it encode output as hexadecimal lower case
example:
extern crate ids_service;
use crate::ids_service::crypto_hash::*;
fn main() {
println!("Create an id sha256 without the service: {}", create_id_as_sha256());
}