diff options
Diffstat (limited to 'compiler/securehash.nim')
-rw-r--r-- | compiler/securehash.nim | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/securehash.nim b/compiler/securehash.nim index 3383f23a2..12950f137 100644 --- a/compiler/securehash.nim +++ b/compiler/securehash.nim @@ -16,14 +16,6 @@ type SHA1Digest = array[0 .. sha_digest_size-1, uint8] SecureHash* = distinct SHA1Digest -const emptySecureHash = SecureHash([ - 0u8, 0, 0, 0, - 0, 0, 0, 0, - 0, 0, 0, 0, - 0, 0, 0, 0, - 0, 0, 0, 0, -]) - proc sha1(src: string) : SHA1Digest proc secureHash*(str: string): SecureHash = SecureHash(sha1(str)) |