golang.org/x/crypto/openpgp/packet.Config.PasswordHashIterations (method)
2 uses
golang.org/x/crypto/openpgp/packet (current package)
config.go#L86: func (c *Config) PasswordHashIterations() int {
symmetric_key_encrypted.go#L114: err = s2k.Serialize(s2kBuf, keyEncryptingKey, config.Random(), passphrase, &s2k.Config{Hash: config.Hash(), S2KCount: config.PasswordHashIterations()})
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |