Java org.bouncycastle.crypto.generators Poly1305KeyGenerator fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.crypto.generators Poly1305KeyGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.crypto.generators Poly1305KeyGenerator.

The text is from its open source code.

Method

voidcheckKey(byte[] key)
Checks a 32 byte key for compliance with the Poly1305 key requirements, e.g.
voidclamp(byte[] key)
Modifies an existing 32 byte key value to comply with the requirements of the Poly1305 key by clearing required bits in the r (second 16 bytes) portion of the key.
Specifically:
  • r[3], r[7], r[11], r[15] have top four bits clear (i.e., are {0, 1, .