MCPcopy
hub / github.com/FiloSottile/age / ScryptRecipient

Struct ScryptRecipient

scrypt.go:31–34  ·  view source on GitHub ↗

ScryptRecipient is a password-based recipient. Anyone with the password can decrypt the message. If a ScryptRecipient is used, it must be the only recipient for the file: it can't be mixed with other recipient types and can't be used multiple times for the same file. Its use is not recommended for

Source from the content-addressed store, hash-verified

29// Its use is not recommended for automated systems, which should prefer
30// [HybridRecipient] or [X25519Recipient].
31type ScryptRecipient struct {
32 password []byte
33 workFactor int
34}
35
36var _ Recipient = &ScryptRecipient{}
37

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected