@@ -37,7 +37,7 @@ keyring.Import(bobPublicArmored); // a correspondent's public key
3737string armored = await pgp .EncryptForAsync (" bob@example.com" , payloadBytes );
3838byte [] plaintext = await pgp .DecryptAsync (armoredFromBob , " passphrase" );
3939
40- // Sign and verify (signed message — the data is embedded in the armored block).
40+ // Sign and verify (signed message - the data is embedded in the armored block).
4141string signed = await pgp .SignAsync (payloadBytes , " alice@example.com" , " passphrase" );
4242var verification = await pgp .VerifyAsync (signed ); // verification.IsValid, verification.Data
4343
@@ -52,7 +52,7 @@ await keyring.LoadAsync(container.Resolve<IPgpKeyStore>());
5252
5353## Password-based encryption
5454
55- ` PasswordCipher ` encrypts a payload under a password — Argon2id derives the key, AES-256-GCM seals the data,
55+ ` PasswordCipher ` encrypts a payload under a password - Argon2id derives the key, AES-256-GCM seals the data,
5656and the result is a self-describing, versioned envelope (salt, nonce, tag and KDF cost are embedded, so
5757decryption needs only the password and the blob).
5858
@@ -89,14 +89,14 @@ encryption use `CryptoUtils` / `ISecretProtector` instead.
8989
9090## Key stores
9191
92- - ** ` FilePgpKeyStore(directory) ` ** — one armored ` .asc ` per key (public, plus secret when held). gpg-interoperable.
93- - ** ` AesGcmPgpKeyStore(ISecretProtector, path) ` ** — the whole keyring serialized to a single file, encrypted at
92+ - ** ` FilePgpKeyStore(directory) ` ** - one armored ` .asc ` per key (public, plus secret when held). gpg-interoperable.
93+ - ** ` AesGcmPgpKeyStore(ISecretProtector, path) ` ** - the whole keyring serialized to a single file, encrypted at
9494 rest with the application key via ` SquidStd ` 's ` ISecretProtector ` .
9595
9696## Notes
9797
9898- ** Signatures are signed messages** , not detached signatures: ` SignAsync ` embeds the data in the armored block
99- and ` VerifyAsync ` recovers it. Verification is ** pass/fail** — PgpCore does not expose the signer's key id or
99+ and ` VerifyAsync ` recovers it. Verification is ** pass/fail** - PgpCore does not expose the signer's key id or
100100 identity, so the results carry no signer attribution.
101101- ` DecryptAndVerifyAsync ` never throws on a bad/absent signature when the ciphertext itself is valid: it always
102102 recovers ` Data ` and reports ` IsSigned ` / ` IsValid ` .
@@ -154,4 +154,4 @@ var folderVault = new CryptoFileSystem(new PhysicalFileSystem("/secure/dir"));
154154
155155## License
156156
157- MIT — part of [ SquidStd] ( https://github.com/tgiachi/squid-std ) .
157+ MIT - part of [ SquidStd] ( https://github.com/tgiachi/squid-std ) .
0 commit comments