15 lines
239 B
Swift
15 lines
239 B
Swift
import Foundation
|
|
#if canImport(CryptoKit)
|
|
import CryptoKit
|
|
#else
|
|
import Crypto
|
|
#endif
|
|
|
|
enum SesameHeader {
|
|
|
|
static let authenticationHeader = "Authorization"
|
|
|
|
static let serverAuthenticationTokenSize = SHA256.byteCount
|
|
|
|
}
|