-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nguyen Van Nguyen <[email protected]>
- Loading branch information
Showing
5 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,16 +25,11 @@ | |
final class Config | ||
{ | ||
const VERSION = "PHP Privacy v2"; | ||
const COMMENT = "https://github.com/web-of-trust/php-privacy"; | ||
const COMMENT = "The PHP OpenPGP library"; | ||
|
||
const CIPHER_MODE = "cfb"; | ||
const HKDF_ALGO = "sha256"; | ||
|
||
const PADDING_MIN = 16; | ||
const PADDING_MAX = 32; | ||
|
||
const SALT_NOTATION = "[email protected]"; | ||
|
||
const AEAD_SUPPORTED = true; | ||
const AEAD_CHUNK_SIZE_MIN = 10; | ||
const AEAD_CHUNK_SIZE_MAX = 16; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,8 @@ class NotationData extends SignatureSubpacket implements NotationDataInterface | |
const NAME_LENGTH = 2; | ||
const VALUE_LENGTH = 2; | ||
|
||
const SALT_NOTATION = "[email protected]"; | ||
|
||
/** | ||
* Constructor | ||
* | ||
|