Trait to enable rendering of a table to a sequential (non-hierarchical) output format, with each row encrypted. A typeclass.
Type parameters
- O
-
the underlying type, for example, a FileWriter.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Method to write a row, encrypted, followed by a newline: the key, then "|", then the encrypted row (as Hex). This is the form that EncryptedHeadedStringTableParser reads.
Method to write a row, encrypted, followed by a newline: the key, then "|", then the encrypted row (as Hex). This is the form that EncryptedHeadedStringTableParser reads.
Type parameters
- A
-
the cipher algorithm (for which there must be evidence of HexEncryption[A]).
Value parameters
- key
-
the lookup key for this row (not an encryption key): it is written in plain text.
- o
-
the instance of O whither the row should be written.
- plaintext
-
the plain text character sequence to be written in encrypted form.
- rawKey
-
the encryption key for this row (for AES128CTR, 16 characters).
Attributes
- Returns
-
an instance of O which represents the updated output structure.
Inherited methods
Method to close this Writable, if appropriate.
The default delimiter is a comma followed by a space.
The default delimiter is a comma followed by a space.
Attributes
- Returns
-
", "
- Inherited from:
- Writable
The default newline character is the newline.
The default quote is one double-quote symbol
Method to write a character sequence to the given instance o, but within quotes. Any quote characters in x will be doubled.
Method to write a character sequence to the given instance o, but within quotes. Any quote characters in x will be doubled.
Value parameters
- o
-
the instance of O whither the parameter x should be written.
- x
-
the character sequence to be written.
Attributes
- Returns
-
an instance of O which represents the updated output structure.
- Inherited from:
- Writable
Method to write a character sequence to the given instance o followed by a newline.
Method to write a character sequence to the given instance o followed by a newline.
Value parameters
- o
-
the instance of O whither the parameter x should be written.
- x
-
the character sequence to be written.
Attributes
- Returns
-
an instance of O which represents the updated output structure.
- Inherited from:
- Writable
Method to write a value of type Any to the given instance o, possibly quoted.
Method to write a value of type Any to the given instance o, possibly quoted.
Value parameters
- o
-
the instance of O whither the xs values should be written.
- x
-
the row instance to be written.
Attributes
- Returns
-
an instance of O which represents the updated output structure.
- Inherited from:
- Writable
Method to write a value of type Any to the given instance o, possibly quoted. Elements will be separated by the delimiter, but no newline is appended. Element strings may be enclosed in quotes if appropriate.
Method to write a value of type Any to the given instance o, possibly quoted. Elements will be separated by the delimiter, but no newline is appended. Element strings may be enclosed in quotes if appropriate.
Value parameters
- o
-
the instance of O whither the xs values should be written.
- xs
-
the sequence of elements (values) to be written.
Attributes
- Returns
-
an instance of O which represents the updated output structure.
- Inherited from:
- Writable
Method to write a value of type Any to the given instance o, possibly quoted.
Method to write a value of type Any to the given instance o, possibly quoted.
Value parameters
- o
-
the instance of O whither the parameter x should be written.
- x
-
the character sequence to be written.
Attributes
- Returns
-
an instance of O which represents the updated output structure.
- Inherited from:
- Writable
Inherited and Abstract methods
Method to return an empty (i.e. new) instance of O
Method to write a character sequence to the given instance o.
Method to write a character sequence to the given instance o.
Value parameters
- o
-
the instance of O whither the parameter x should be written.
- x
-
the character sequence to be written.
Attributes
- Returns
-
an instance of O which represents the updated output structure.
- Inherited from:
- Writable