ช่วงเวลาส่วนตัวของคุณ เฉพาะสำหรับสายตาของคุณเท่านั้น
ล็อก FaceID • เฉพาะอุปกรณ์ • การเข้ารหัสระดับทหาร
SECURE ENCLAVE
การตรวจสอบชีวมิติ
ห้องนิรภัยที่เข้ารหัส
คีย์
256-บิต
คลาวด์
ไม่มีคลาวด์
ที่เก็บข้อมูล
อุปกรณ์
รวมอยู่ใน NUDEFNDR PRO
ไปป์ไลน์การเข้ารหัส
ซอร์สโค้ด
import CryptoKit
final class VaultCrypto {
/// Encrypts photo data with ChaCha20-Poly1305 AEAD
static func encryptData(_ data: Data, key: SymmetricKey) throws -> Data {
// ChaCha20-Poly1305 provides:
// - Confidentiality (encryption)
// - Authenticity (HMAC)
// - Integrity (tampering detection)
let sealedBox = try ChaChaPoly.seal(data, using: key)
return sealedBox.combined // Nonce + Ciphertext + Tag
}
/// Decrypts vault photo
static func decryptData(_ encryptedData: Data, key: SymmetricKey) throws -> Data {
let sealedBox = try ChaChaPoly.SealedBox(combined: encryptedData)
// Authentication tag verified automatically
// Throws error if data has been tampered with
let decryptedData = try ChaChaPoly.open(sealedBox, using: key)
return decryptedData
}
/// Generates vault encryption key with entropy validation
static func generateVaultKey() throws -> SymmetricKey {
let key = SymmetricKey(size: .bits256)
// Validate entropy meets NIST SP 800-90B standards
let keyData = key.withUnsafeBytes { Data($0) }
let entropy = calculateEntropy(keyData)
guard entropy >= 7.5 else {
throw CryptoError.insufficientEntropy
}
return key
}
}
ChaCha20-Poly1305 ให้การเข้ารหัสที่ได้รับการตรวจสอบ มาตรฐานเดียวกันที่ใช้ใน WireGuard, TLS 1.3 และ Signal Protocol
ห้องนิรภัยต้องใช้ FaceID/Touch ID ทุกครั้งที่คุณเปิด แม้โทรศัพท์จะปลดล็อก ห้องนิรภัยยังคงถูกล็อก
โมเดลความปลอดภัย
**ไม่สามารถกู้คืนข้อมูลห้องนิรภัยได้หากคุณสูญเสียอุปกรณ์ เปลี่ยนโทรศัพท์ หรือติดตั้ง NuDefndr ใหม่** นี่เป็นเจตนา—เป็นวิธีเดียวที่จะรับประกันความปลอดภัยที่แท้จริง
คีย์การเข้ารหัสถูกผูกกับฮาร์ดแวร์กับ Secure Enclave ของอุปกรณ์ของคุณ หากไม่มีอุปกรณ์จริง เนื้อหาห้องนิรภัยจะเข้าถึงไม่ได้อย่างถาวร—แม้แต่เรา