hash
Function parameters
Parameters
Type definitions in this namespace
Types
Functions in this namespace
Functions
= 64
Values
- block_length
- = 64
- digest_length
- = 20
Source
Implementation
pub fn hash(b: []const u8, out: *[digest_length]u8, options: Options) void {
var d = Sha1.init(options);
d.update(b);
d.final(out);
}