Package com.codename1.crypto.encoding
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.
-
ClassesClassDescriptionBase58 encoding with the Bitcoin alphabet.Base58Check: Base58 text of a payload followed by the first four bytes of its double SHA-256 digest.Bech32 (BIP-173) and Bech32m (BIP-350) encoding, bit regrouping and the SegWit address helpers built on them.The result of
Bech32.decode(String).The result ofBech32.decodeSegwitAddress(String, String).Recursive Length Prefix encoding as used by Ethereum.