Base62

A Base62 encoder/decoder for Java

Лицензия

Лицензия

MIT
Группа

Группа

io.seruco.encoding
Идентификатор

Идентификатор

base62
Последняя версия

Последняя версия

0.1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

Base62
A Base62 encoder/decoder for Java
Ссылка на сайт

Ссылка на сайт

https://github.com/seruco/base62
Система контроля версий

Система контроля версий

https://github.com/seruco/base62.git

Скачать base62

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.seruco.encoding/base62/ -->
<dependency>
    <groupId>io.seruco.encoding</groupId>
    <artifactId>base62</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/io.seruco.encoding/base62/
implementation 'io.seruco.encoding:base62:0.1.3'
// https://jarcasting.com/artifacts/io.seruco.encoding/base62/
implementation ("io.seruco.encoding:base62:0.1.3")
'io.seruco.encoding:base62:jar:0.1.3'
<dependency org="io.seruco.encoding" name="base62" rev="0.1.3">
  <artifact name="base62" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.seruco.encoding', module='base62', version='0.1.3')
)
libraryDependencies += "io.seruco.encoding" % "base62" % "0.1.3"
[io.seruco.encoding/base62 "0.1.3"]

Зависимости

test (5)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.0.2
org.junit.jupiter : junit-jupiter-engine jar 5.0.2
org.junit.vintage : junit-vintage-engine jar 4.12.2
org.junit.platform : junit-platform-launcher jar 1.0.2
org.junit.platform : junit-platform-runner jar 1.0.2

Модули Проекта

Данный проект не имеет модулей.

Base62 license

A Base62 Encoder/Decoder for Java

Getting Started

For Maven-based projects, add the following to your pom.xml file. This dependency is available from the Maven Central repository.

<dependency>
    <groupId>io.seruco.encoding</groupId>
    <artifactId>base62</artifactId>
    <version>0.1.3</version>
</dependency>

Usage

Base62 base62 = Base62.createInstance();

Encoding

final byte[] encoded = base62.encode("Hello World".getBytes());

new String(encoded); // is "73XpUgyMwkGr29M"

Decoding

final byte[] decoded = base62.decode("73XpUgyMwkGr29M".getBytes());

new String(decoded); // is "Hello World"

Character Sets

This library supports two character sets: GMP-style or inverted. The difference between these two is whether the upper case letters come first, 0-9A-Za-z (GMP), or last, 0-9a-zA-Z (inverted).

By default, we prefer the GMP-style character set. If you want to use the inverted character set, simply do this:

Base62 base62 = Base62.createInstanceWithInvertedCharacterSet();

Licensing

This project is licensed under the MIT License.

Версии библиотеки

Версия
0.1.3
0.1.2
0.1.1
0.1.0