mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-18 05:22:11 +00:00
Make algorithm hashable.
This commit is contained in:
parent
1833063a49
commit
cb259b2657
@ -7,7 +7,7 @@ public protocol Secret: Identifiable, Hashable {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum Algorithm {
|
public enum Algorithm: Hashable {
|
||||||
case ellipticCurve
|
case ellipticCurve
|
||||||
public init(secAttr: NSNumber) {
|
public init(secAttr: NSNumber) {
|
||||||
let secAttrString = secAttr.stringValue as CFString
|
let secAttrString = secAttr.stringValue as CFString
|
||||||
|
Loading…
Reference in New Issue
Block a user