[cryptography] Announcing a new JVM crypto library

James A. Donald jamesd at echeque.com
Sun Mar 17 02:14:21 EDT 2013

On 2013-03-17 1:37 PM, Will wrote:
> Hello,
> I've released a new native OSS crypto library for the JVM that uses
> AES-NI, PCLMUL, and RDRAND instructions available on recent x86-64
> CPUs:
>    https://github.com/wg/crypto
> It supports AES in CBC, CTR, and GCM modes with optional
> authentication, secure random number generation (RDRAND, Ivy Bridge+
> CPUs only), and constant-time byte array comparison. I believe the API
> is simple and less error prone than the JCE's. However it is designed
> as a low level library and requires the user to correctly assemble the
> provided primitives.
> This is just a hobby project and I am not a cryptographer. I have
> however placed an emphasis on testing and it passes all publicly
> available NIST AESAVS tests. The underlying AES implementation is
> hardware, and the driver code is OSS from Intel and the OpenBSD
> project. The GCM wrapper of CTR and GMAC, RDRAND driver, and other
> utilities were written by me.

Doubtless I am not looking in the right place, but I do not see the api 
for RDRAND - or indeed the api for anything.

The documentation for Rdrand appears to be:

  Secure random bytes (requires CPU supporting RDRAND):

     Crypto.bytes(iv, len)

Which is less than helpful.

More information about the cryptography mailing list