Skip to content

Commit

Permalink
Fix KID length.
Browse files Browse the repository at this point in the history
  • Loading branch information
yspreen committed Apr 23, 2021
1 parent 486d63b commit 429ccd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PatientScannerDemo/Services/KID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ struct KID {
else {
return []
}
return SHA256.digest(input: data as NSData).uint
return .init(SHA256.digest(input: data as NSData).uint.prefix(8))
}
}

0 comments on commit 429ccd7

Please sign in to comment.