Cap masked hash to 16 hexes
This commit is contained in:
parent
ae85337e91
commit
b35fb34da5
|
@ -111,6 +111,6 @@ extension CustomStringConvertible {
|
|||
md.withUnsafeMutableBytes {
|
||||
_ = CC_SHA1(&data, CC_LONG(data.count), $0)
|
||||
}
|
||||
return md.toHex()
|
||||
return "#\(md.toHex().prefix(16))#"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue