Add support for sending using a QR code

closes #196
This commit is contained in:
Grishka
2025-08-07 04:59:01 +03:00
parent f75f5fb1f0
commit ad1c47012f
11 changed files with 426 additions and 27 deletions

View File

@@ -0,0 +1,15 @@
//
// SymmetricKey+Extensions.swift
// NearbyShare
//
// Created by Grishka on 06.08.2025.
//
import Foundation
import CryptoKit
extension SymmetricKey{
func data() -> Data{
return withUnsafeBytes({return Data(bytes: $0.baseAddress!, count: $0.count)})
}
}