{"repo":"l0s/fernet-java8","free":true,"listed":false,"github":"https://github.com/l0s/fernet-java8","clone":"git clone https://github.com/l0s/fernet-java8.git","description":"Java 8 implementation of the Fernet Specification","language":"Java","stars":44,"topics":["fernet","cryptography","authentication","authorization","encryption"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Fernet Java This is an implementation of the Fernet Spec using Java. The goal is to use only native Java constructs to avoid pulling in any dependencies so the library would be more generally usable. It also takes advantage of the Java time objects to add type-safety. I am actively soliciting feedback on this library. If you have any thoughts, please submit an issue. Features fully-validated against the scenarios in the Fernet Spec type-safety by using Java time objects (no confusing milliseconds vs seconds after the epoch) no dependencies! pluggable mechanism so you can specify your own: Clock TTL / max clock skew payload validator payload transformation (i.e. to POJO) Adding this to your project This library is available in The Central Repository. If you use Maven, you can add it to your project object model using: com.macasaet.fernet fernet-java8 1.4.2 For more details, see: The Central Repository If you use a dependency manager system or build system other than Maven, see Dependency Information. Alternatively, you can just download the latest jar and add it to your classpath. It does not have any dependencies. Note that this library requires Java 8 or higher. Examples Create a new key: final Key key = Key.generateKey(); or final Key key = Key.generateKey(customRandom); Deserialise an existing key: final Key key = new Key(\"cw 0x689RpI-jtRR7oE8h eQsKImvJapLeSbXpwF4e4=\"); Create a token: final Token token = Token.generate(key, \"secret message\"); or final Token token = Token.","default_branch":null,"files":null,"tree":[],"storefront":"/r/l0s","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/l0s/fernet-java8/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}