com.phasmidsoftware.tableparser.crypto.render
Members list
Type members
Classlikes
case class CsvTableEncryptedFileRenderer[T, A](file: File, keyFunction: String => String)(using evidence$1: CsvRenderer[T], evidence$2: CsvGenerator[T], evidence$3: HasKey[T], evidence$4: HexEncryption[A], csvAttributes: CsvAttributes) extends CsvTableRenderer[T, FileWriter]
Case class to help render a Table to a File in CSV format, with each row encrypted (see WritableCrypt). The header is written in plain text.
Case class to help render a Table to a File in CSV format, with each row encrypted (see WritableCrypt). The header is written in plain text.
Type parameters
- A
-
the cipher algorithm (for which there must be evidence of HexEncryption[A]).
- T
-
the type of object to be rendered, must provide evidence of CsvRenderer[T], CsvGenerator[T] and HasKey[T].
Value parameters
- csvAttributes
-
implicit instance of CsvAttributes.
- file
-
the file to which the table will be written.
- keyFunction
-
a function which takes the key of a row (see HasKey) and returns the encryption key for that row (the same function that EncryptedHeadedStringTableParser uses to decrypt it).
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article