1///|
2/// `HashFunc` represents a hash algorithm like `@crc32`, `@md5`, or `@sha256`.
3pub(open) trait trait HashFunc {
name(Self) -> String
write(Self, Byte) -> Unit
check_sum(Self) -> String
}
HashFunc represents a hash algorithm like @crc32, @md5, or @sha256.
HashFunc {
4 (Self) -> String
name(type parameter Self
Self) -> String
String
5 (Self, Byte) -> Unit
write(type parameter Self
Self, Byte
Byte) -> Unit
Unit
6 (Self) -> String
check_sum(type parameter Self
Self) -> String
String
7}
8