Make algorithm hashable.

This commit is contained in:
Max Goedjen 2020-03-22 21:24:46 -07:00
parent 1833063a49
commit cb259b2657
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -7,7 +7,7 @@ public protocol Secret: Identifiable, Hashable {
}
public enum Algorithm {
public enum Algorithm: Hashable {
case ellipticCurve
public init(secAttr: NSNumber) {
let secAttrString = secAttr.stringValue as CFString