Client and backend. Every class listed here is shared: the same code is compiled into your app and into your server.
package com.codename1.crypto.encoding
Text and binary encodings used by blockchain and wallet code: Base58 and
Base58Check, Bech32 and Bech32m with SegWit addresses, and
Ethereum’s Recursive Length Prefix serialization. Hexadecimal is
[com.codename1.security.Hash#toHex(byte[])] and
Hash.fromHex(String); Base64 is java.util.Base64.
Types
class Base58 | Base58 encoding with the Bitcoin alphabet. |
class Base58Check | Base58Check: Base58 text of a payload followed by the first four bytes of its double SHA-256 digest. |
class Bech32 | Bech32 (BIP-173) and Bech32m (BIP-350) encoding, bit regrouping and the SegWit address helpers built on them. |
class Rlp | Recursive Length Prefix encoding as used by Ethereum. |