Make algorithm hashable.

This commit is contained in:
Max Goedjen
2020-03-22 21:24:46 -07:00
parent 1833063a49
commit cb259b2657

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