C G K N O S 
All Classes All Packages

C

com.codahale.xsalsa20poly1305 - package com.codahale.xsalsa20poly1305
 

G

generatePrivateKey() - Static method in class com.codahale.xsalsa20poly1305.Keys
generates a Curve25519 private key.
generatePublicKey(byte[]) - Static method in class com.codahale.xsalsa20poly1305.Keys
Generates a Curve25519 public key given a Curve25519 private key.
generateSecretKey() - Static method in class com.codahale.xsalsa20poly1305.Keys
Generates a 32-byte secret key.

K

Keys - Class in com.codahale.xsalsa20poly1305
Utility methods for generating XSalsa20Poly1305 keys.

N

nonce() - Method in class com.codahale.xsalsa20poly1305.SecretBox
Generates a random nonce.
nonce(byte[]) - Method in class com.codahale.xsalsa20poly1305.SecretBox
Generates a random nonce which is guaranteed to be unique even if the process's PRNG is exhausted or compromised.

O

open(byte[]) - Method in class com.codahale.xsalsa20poly1305.SimpleBox
Decrypt the ciphertext with the given key.
open(byte[], byte[]) - Method in class com.codahale.xsalsa20poly1305.SecretBox
Decrypt a ciphertext using the given key and nonce.

S

seal(byte[]) - Method in class com.codahale.xsalsa20poly1305.SimpleBox
Encrypt the plaintext with the given key.
seal(byte[], byte[]) - Method in class com.codahale.xsalsa20poly1305.SecretBox
Encrypt a plaintext using the given key and nonce.
SecretBox - Class in com.codahale.xsalsa20poly1305
Encryption and decryption using XSalsa20Poly1305.
SecretBox(byte[]) - Constructor for class com.codahale.xsalsa20poly1305.SecretBox
Create a new SecretBox instance with the given secret key.
SecretBox(byte[], byte[]) - Constructor for class com.codahale.xsalsa20poly1305.SecretBox
Create a new SecretBox instance given a Curve25519 public key and a Curve25519 private key.
sharedSecret(byte[], byte[]) - Static method in class com.codahale.xsalsa20poly1305.Keys
Calculate the X25519/HSalsa20 shared secret for the given public key and private key.
SimpleBox - Class in com.codahale.xsalsa20poly1305
Convenience functions for encryption without requiring nonce management.
SimpleBox(byte[]) - Constructor for class com.codahale.xsalsa20poly1305.SimpleBox
Create a new SimpleBox instance with the given secret key.
SimpleBox(byte[], byte[]) - Constructor for class com.codahale.xsalsa20poly1305.SimpleBox
Create a new SecretBox instance given a Curve25519 public key and a Curve25519 private key.
C G K N O S 
All Classes All Packages