OTP/OTPKit/OTPKey.swift

16 lines
248 B
Swift
Raw Normal View History

2021-08-24 22:19:31 +00:00
//
// OTPKey.swift
// OTPKit
//
// Created by Shadowfacts on 8/21/21.
//
import Foundation
public protocol OTPKey {
var secret: Data { get }
var digits: Int { get }
var algorithm: OTPAlgorithm { get }
var period: Int { get }
}