mirror of
https://github.com/sparrowwallet/hummingbird.git
synced 2024-12-26 01:56:45 +00:00
fix javadoc comment
This commit is contained in:
parent
7457870964
commit
5e6c7d67a5
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,7 @@ public class BC32 {
|
|||
private static final String CHARSET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l";
|
||||
|
||||
/**
|
||||
*
|
||||
* Find the polynomial with value coefficients mod the generator as 30-bit.
|
||||
*/
|
||||
private static int polymod(final byte[] values) {
|
||||
|
@ -69,6 +70,9 @@ public class BC32 {
|
|||
|
||||
/**
|
||||
* Encode a BC32 string.
|
||||
*
|
||||
* @param values the bytes to encode
|
||||
* @return the encoded BC32 string
|
||||
*/
|
||||
public static String encode(final byte[] values) {
|
||||
List<Byte> boxedList = new ArrayList<>(values.length);
|
||||
|
@ -92,6 +96,9 @@ public class BC32 {
|
|||
|
||||
/**
|
||||
* Decode a BC32 string.
|
||||
*
|
||||
* @param str the String to decode
|
||||
* @return the decoded bytes
|
||||
*/
|
||||
public static byte[] decode(final String str) {
|
||||
boolean lower = false, upper = false;
|
||||
|
|
Loading…
Reference in a new issue