jitsi / otr4j

Off-The-Record messaging encryption written in pure Java
Apache License 2.0
30 stars 77 forks source link
chat encyption encyption-standard java library otr otrv4 protocol-library secure

Synopsis

otr4j is an implementation of the OTR (Off The Record) protocol in java. Its development started during the GSoC '09 where the goal was to add support for OTR in jitsi. It currently supports OTRv1, OTRv2 and OTRv3. Additionally, there is support for fragmenting outgoing messages.

For a quick introduction on how to use the library have a look at the DummyClient.

Maven

If you use maven for managing your project lifecycle and you want to use otr4j in your project, just add the following dependency to your the pom.xml:

IMPORTANT otr4j has moved to Maven Central! I will be making releases to the old repository for the foreseeable future, but it is highly recommended to update your settings!

<dependency>
    <groupId>org.jitsi</groupId>
    <artifactId>org.otr4j</artifactId>
    <version>0.23</version>
</dependency>

Contributing

Want to hack on otr4j? Awesome! Here are the guidelines we'd like you to follow: