Crates.io | nginx-secure-link |
lib.rs | nginx-secure-link |
version | 0.1.1 |
source | src |
created_at | 2022-05-11 01:36:38.760394 |
updated_at | 2022-05-11 01:46:23.829445 |
description | Library to generate or verify checksums for use with the Nginx secure_link_module |
homepage | https://github.com/colekowalski/nginx-secure-link |
repository | https://github.com/colekowalski/nginx-secure-link |
max_upload_size | |
id | 584263 |
size | 5,327 |
nginx-secure-link is a library to generate and verify checksums for use with Nginx's secure_link_module.
use nginx_secure_link::SecureLink;
fn main() {
let slink = SecureLink::new("secureKey");
let checksum = slink.generate("https://www.google.com/");
println!("Checksum: {}", checksum);
}