Awesome
<div align="center">
<h1 align="center">Bark-Java-SDK</h1>
</div>
Using
<dependency>
<groupId>top.misec</groupId>
<artifactId>bark-java-sdk</artifactId>
<version>0.0.3</version>
</dependency>
Quick Start
SimplePush
BarkPush pusher=new BarkPush("https://xxx.xxx.xx/push","xxxxx");
assertNotNull(pusher);
pusher.simplePush("hello word");
EncryptedPush
Encryption encryption = Encryption.builder()
.mode("ECB")
.key("12345678901234561234567890123456")
.build();
BarkPush pusher = new BarkPush("", "", encryption);
pusher.encryptionPush("123");
Encryption encryption = Encryption.builder()
.mode("CBC")
.key("12345678901234561234567890123456")
.iv("1111111111111111")
.build();
BarkPush pusher = new BarkPush("", "", encryption);
pusher.encryptionPush("123");