net.corda.core.crypto

## Class EncodingUtilsKt

- net.corda.core.crypto.EncodingUtilsKt

-     public class EncodingUtilsKt

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `base58ToByteArray(java.lang.String $receiver)`
    `static java.lang.String` | `base58ToRealString(java.lang.String $receiver)` Base58-String to the actual real String, i.e. "JxF12TrwUP45BMd" -> "Hello World".
    `static java.lang.String` | `base58toBase64(java.lang.String $receiver)` Encoding changer. Base58-String to Base64-String, i.e. "SGVsbG8gV29ybGQ=" -> JxF12TrwUP45BMd"
    `static java.lang.String` | `base58toHex(java.lang.String $receiver)` Encoding changer. Base58-String to Hex-String, i.e. "SGVsbG8gV29ybGQ=" -> "48656C6C6F20576F726C64"
    `static byte[]` | `base64ToByteArray(java.lang.String $receiver)`
    `static java.lang.String` | `base64ToRealString(java.lang.String $receiver)` Base64-String to the actual real String, i.e. "SGVsbG8gV29ybGQ=" -> "Hello World".
    `static java.lang.String` | `base64toBase58(java.lang.String $receiver)` Encoding changer. Base64-String to Base58-String, i.e. "SGVsbG8gV29ybGQ=" -> JxF12TrwUP45BMd"
    `static java.lang.String` | `base64toHex(java.lang.String $receiver)` Encoding changer. Base64-String to Hex-String, i.e. "SGVsbG8gV29ybGQ=" -> "48656C6C6F20576F726C64"
    `static java.lang.String` | `hexToBase58(java.lang.String $receiver)` Encoding changer. Hex-String to Base58-String, i.e. "48656C6C6F20576F726C64" -> "JxF12TrwUP45BMd"
    `static java.lang.String` | `hexToBase64(java.lang.String $receiver)` Encoding changer. Hex-String to Base64-String, i.e. "48656C6C6F20576F726C64" -> "SGVsbG8gV29ybGQ="
    `static byte[]` | `hexToByteArray(java.lang.String $receiver)` Hex-String to ByteArray. Accept any hex form (capitalized, lowercase, mixed).
    `static java.lang.String` | `hexToRealString(java.lang.String $receiver)` HEX-String to the actual real String, i.e. "48656C6C6F20576F726C64" -> "Hello World".
    `static java.lang.String` | `toBase58(byte[] $receiver)`
    `static java.lang.String` | `toBase64(byte[] $receiver)`
    `static java.lang.String` | `toHex(byte[] $receiver)` Convert a byte array to a hex (base 16) capitalized encoded string.

- - ### Method Detail

    - #### toBase58

          public static java.lang.String toBase58(byte[] $receiver)

    - #### toBase64

          public static java.lang.String toBase64(byte[] $receiver)

    - #### toHex

          public static java.lang.String toHex(byte[] $receiver)

      Convert a byte array to a hex (base 16) capitalized encoded string.

    - #### base58ToRealString

          public static java.lang.String base58ToRealString(java.lang.String $receiver)

      Base58-String to the actual real String, i.e. "JxF12TrwUP45BMd" -> "Hello World".

    - #### base64ToRealString

          public static java.lang.String base64ToRealString(java.lang.String $receiver)

      Base64-String to the actual real String, i.e. "SGVsbG8gV29ybGQ=" -> "Hello World".

    - #### hexToRealString

          public static java.lang.String hexToRealString(java.lang.String $receiver)

      HEX-String to the actual real String, i.e. "48656C6C6F20576F726C64" -> "Hello World".

    - #### base58ToByteArray

          public static byte[] base58ToByteArray(java.lang.String $receiver)

    - #### base64ToByteArray

          public static byte[] base64ToByteArray(java.lang.String $receiver)

    - #### hexToByteArray

          public static byte[] hexToByteArray(java.lang.String $receiver)

      Hex-String to ByteArray. Accept any hex form (capitalized, lowercase, mixed).

    - #### base58toBase64

          public static java.lang.String base58toBase64(java.lang.String $receiver)

      Encoding changer. Base58-String to Base64-String, i.e. "SGVsbG8gV29ybGQ=" -> JxF12TrwUP45BMd"

    - #### base58toHex

          public static java.lang.String base58toHex(java.lang.String $receiver)

      Encoding changer. Base58-String to Hex-String, i.e. "SGVsbG8gV29ybGQ=" -> "48656C6C6F20576F726C64"

    - #### base64toBase58

          public static java.lang.String base64toBase58(java.lang.String $receiver)

      Encoding changer. Base64-String to Base58-String, i.e. "SGVsbG8gV29ybGQ=" -> JxF12TrwUP45BMd"

    - #### base64toHex

          public static java.lang.String base64toHex(java.lang.String $receiver)

      Encoding changer. Base64-String to Hex-String, i.e. "SGVsbG8gV29ybGQ=" -> "48656C6C6F20576F726C64"

    - #### hexToBase58

          public static java.lang.String hexToBase58(java.lang.String $receiver)

      Encoding changer. Hex-String to Base58-String, i.e. "48656C6C6F20576F726C64" -> "JxF12TrwUP45BMd"

    - #### hexToBase64

          public static java.lang.String hexToBase64(java.lang.String $receiver)

      Encoding changer. Hex-String to Base64-String, i.e. "48656C6C6F20576F726C64" -> "SGVsbG8gV29ybGQ="