# Base47
A Base47 encoder/decoder that uses emojis as its character set

# Base₄₇
A Base₄₇ encoder/decoder that uses emojis as its character set

## What? 🤔
This is a silly base encoding algorithm. It purposefully uses an inefficient base to encode to, base 47, and also uses a non-traditional character set. The character set used is a subset of unicode emojis, most of the animal emojis. 

## Usage 🙄

Include it as a gradle submodule
```groovy
dependencies {
    compile project(':library')
}
```

Encode
```java
String testString = "Hello World!!!";

String encodedTestString = Base47.encode(testString.getBytes());
...
```

Decode
```java
...
byte[] decodedTestStringBytes = Base47.decode(encodedTestString);

String decodedTestString = new String(decodedTestStringBytes);

assert decodedTestString.equals(testString);
```

## License
`Base47` is available under the MIT license. See the [LICENSE](LICENSE) file for more information.

Update readme to describe project
Update readme to describe project