Note: Import std/sha1 to use this module
Types
SecureHash = distinct Sha1Digest
- Source Edit
Procs
proc secureHash(str: string): SecureHash {...}{.raises: [], tags: [].}
- Source Edit
proc secureHashFile(filename: string): SecureHash {...}{.raises: [IOError], tags: [ReadIOEffect].}
- Source Edit
proc `$`(self: SecureHash): string {...}{.raises: [], tags: [].}
- Source Edit
proc parseSecureHash(hash: string): SecureHash {...}{.raises: [], tags: [].}
- Source Edit
proc `==`(a, b: SecureHash): bool {...}{.raises: [], tags: [].}
- Source Edit