com.phasmidsoftware.tableparser.crypto.HexEncryption
See theHexEncryption companion trait
Attributes
- Companion
-
trait
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Show the given bytes as hexadecimal text.
Show the given bytes as hexadecimal text.
Value parameters
- bytes
-
an Array[Byte].
Attributes
- Returns
-
an IO of String.
Method to decrypt a row consisting of an identifier and a Hex string.
Method to decrypt a row consisting of an identifier and a Hex string.
Type parameters
- A
-
the cipher algorithm (for which there must be evidence of HexEncryption[A]).
Value parameters
- keyFunction
-
a function to yield the raw cipher key from the value of the ID column (said value might well be ignored).
- row
-
a two-element sequence of Strings: the id and the hex string. * @tparam A the cipher algorithm.
Attributes
- Returns
-
a IO[String].
Decode the given String in hexadecimal as an array of Byte.
Decode the given String in hexadecimal as an array of Byte.
Value parameters
- hex
-
the hex String.
Attributes
- Returns
-
Array[Byte].