Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Key ¶
* * OpenPGP's S2K * * See RFC 4880 sections 3.7.1.1, 3.7.1.2, and 3.7.1.3 * If the salt is empty and iterations == 1, "simple" S2K is used * If the salt is non-empty and iterations == 1, "salted" S2K is used * If the salt is non-empty and iterations > 1, "iterated" S2K is used * * Due to complexities of the PGP S2K algorithm, time-based derivation * is not supported. So if iterations == 0 and msec.count() > 0, an * exception is thrown. In the future this may be supported, in which * case "iterated" S2K will be used and the number of iterations * performed is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.