Skip to content

MoshiCoCo/bark-java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bark-Java-SDK

GitHub stars GitHub forks GitHub issues GitHub license GitHub All Releases GitHub release (latest SemVer) Maven Central Hits

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");

About

bark-java-sdk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages