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
| 29 | // Its use is not recommended for automated systems, which should prefer |
| 30 | // [HybridRecipient] or [X25519Recipient]. |
| 31 | type ScryptRecipient struct { |
| 32 | password []byte |
| 33 | workFactor int |
| 34 | } |
| 35 | |
| 36 | var _ Recipient = &ScryptRecipient{} |
| 37 |
nothing calls this directly
no outgoing calls
no test coverage detected