PGPKeyring *keyring = ObjectivePGP.defaultKeyring; PGPKeyring *keyring = [[PGPKeyring alloc] init]; NSArray<PGPKey *> *allKeys = keyring.keys; [keyring importKeys:@[key]]; [keyring deleteKeys:@[key]]; [keyring importKey:@"979E4B03DFFE30C6" fromPath:@"/path/to/secring.gpg"...
Ifthekeyistrulyrandom,anxor-basedone-timepadisperfectlysecureagainstciphertext-onlycryptanalysis. Thismeansanattackercan’tcomputetheplaintextfromtheciphertextwithoutknowledgeofthekey,evenviaabruteforcesearchofthespaceofallkeys! Tryingallpossiblekeysdoesn'thelpyouatall,because all possible plaintexts are equally...