Function hash [src]
Prototype
pub fn hash(input: []const u8) u32
Parameters
input: []const u8
Source
pub fn hash(input: []const u8) u32 {
var c = Adler32.init();
c.update(input);
return c.final();
}
pub fn hash(input: []const u8) u32
input: []const u8
pub fn hash(input: []const u8) u32 {
var c = Adler32.init();
c.update(input);
return c.final();
}