Gimli

An implementation of the Gimli secure transform and hash algorithm.

License

License

GroupId

GroupId

com.codahale
ArtifactId

ArtifactId

gimli
Last Version

Last Version

0.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

Gimli
An implementation of the Gimli secure transform and hash algorithm.
Project URL

Project URL

https://github.com/codahale/gimli
Source Code Management

Source Code Management

https://github.com/codahale/gimli

Download gimli

How to add to project

<!-- https://jarcasting.com/artifacts/com.codahale/gimli/ -->
<dependency>
    <groupId>com.codahale</groupId>
    <artifactId>gimli</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.codahale/gimli/
implementation 'com.codahale:gimli:0.1.3'
// https://jarcasting.com/artifacts/com.codahale/gimli/
implementation ("com.codahale:gimli:0.1.3")
'com.codahale:gimli:jar:0.1.3'
<dependency org="com.codahale" name="gimli" rev="0.1.3">
  <artifact name="gimli" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.codahale', module='gimli', version='0.1.3')
)
libraryDependencies += "com.codahale" % "gimli" % "0.1.3"
[com.codahale/gimli "0.1.3"]

Dependencies

test (9)

Group / Artifact Type Version
com.google.guava : guava jar 25.1-jre
org.junit.jupiter : junit-jupiter-api jar 5.3.1
org.junit.jupiter : junit-jupiter-engine jar 5.3.1
org.junit.jupiter : junit-jupiter-params jar 5.3.1
org.assertj : assertj-core jar 3.11.1
org.quicktheories : quicktheories jar 0.25
org.mockito : mockito-core jar 2.22.0
org.openjdk.jmh : jmh-core jar 1.21
org.openjdk.jmh : jmh-generator-annprocess jar 1.21

Project Modules

There are no modules declared in this project.

gimli

CircleCI

A Java implementation of the Gimli cryptographic permutation and hash algorithm:

Gimli is a 384-bit permutation designed to achieve high security with high performance across a broad range of platforms, including 64-bit Intel/AMD server CPUs, 64-bit and 32-bit ARM smartphone CPUs, 32-bit ARM microcontrollers, 8-bit AVR microcontrollers, FPGAs, ASICs without side-channel protection, and ASICs with side-channel protection.

In conforms to the test vectors produced by the reference C implementation. N.B: The test vectors for the hash algorithm are incorrect and this implementation conforms to the corrected test vectors.

Add to your project

<dependency>
  <groupId>com.codahale</groupId>
  <artifactId>gimli</artifactId>
  <version>0.1.3</version>
</dependency>

Note: module name for Java 9+ is com.codahale.gimli.

Use the thing

import com.codahale.gimli.Gimli;
import java.util.Arrays;

class Example {
  public void main(String... args) {
    final int[] state = new int[12]; // the input is 12 32-bit integers
    Gimli.permute(state);
    System.out.println(Arrays.toString(state));
  }
}

License

Copyright © 2017 Coda Hale

Distributed under the Apache License 2.0.

Versions

Version
0.1.3
0.1.2
0.1.1
0.1.0