B C D E F G K M N O P S T U V 
All Classes All Packages

B

blake2b(byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
32 byte Blake2b hash without key
blake2b(byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
32 byte Blake2b keyed hash
BLAKE2B_BYTES - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 
box(byte[], Curve25519KeyPair, byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
encrypt a message to the given recipient
box(byte[], Curve25519KeyPair, byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
encrypt a message to the given recipient, with additional contextual data
byteArrayConcat(byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Concatonate two byte arrays
bytesToHex(byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCryptoMain
 

C

calculateAgreement(byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Calculate a DH agreement
CURVE25519_PUBLIC_KEY_BYTES - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 
CURVE25519_SECRET_KEY_BYTES - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 

D

decrypt(byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Attempt to decrypt a message with a given symmetric key
detachMessage(byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
Remove a signature from a message

E

EdDSA - Class in org.magmacollective.darkcrystal.keybackup.crypto
Ed25519 Key generation, signing and validation
EdDSA() - Constructor for class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
 
encrypt(byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
encrypt a message with the given symmetric key

F

fromBase64String(String) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Convencience method to convert a Base64 encoded string to a byte array
fromHexString(String) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Convenience method to convert a hexadecimal encoded string to a byte array

G

generateCurve25519Keypair() - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Generates a Curve25519 keypair
generateKeyPair() - Method in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
Generate a keypair
generateNonce() - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Generate a random nonce
generateSymmetricKey() - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Generate a random key

K

KeyBackupCrypto - Class in org.magmacollective.darkcrystal.keybackup.crypto
Crypto methods for Dark Crystal Distributed Key Backup
KeyBackupCrypto() - Constructor for class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 
KeyBackupCryptoMain - Class in org.magmacollective.darkcrystal.keybackup.crypto
 
KeyBackupCryptoMain() - Constructor for class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCryptoMain
 

M

MAC_BYTES - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 
main(String[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCryptoMain
 

N

NONCE_BYTES - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 

O

oneWayBox(byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Encrypt a message to the given recipient using an ephemeral keypair, and attach the ephemeral public key to the message, so that it can be decrypted by the recipient without revealing who it is from.
oneWayUnbox(byte[], Curve25519KeyPair) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Decrypt a message encrypted with 'oneWayBox'
org.magmacollective.darkcrystal.keybackup.crypto - package org.magmacollective.darkcrystal.keybackup.crypto
Cryptographic functions for use with Dark Crystal Key Backup

P

PUBLIC_KEY_LENGTH - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
 

S

secretBox(byte[], byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Encrypt a message with a given symmetric key and nonce
secretUnbox(byte[], byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Decrypt a message with the given symmetric key and nonce
SIGNATURE_LENGTH - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
 
signMessage(byte[], PrivateKey) - Method in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
Generate a signature for a given message, and return the signature attached to the message
signMessageDetached(byte[], PrivateKey) - Method in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
Generate a signature for the given message
SYMMETRIC_KEY_BYTES - Static variable in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
 

T

toBase64String(byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Convenience method to encode a byte array to a Base64 encoded string
toHexString(byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
Convenience method to encode a byte array to a hexadecimal string

U

unbox(byte[], Curve25519KeyPair, byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
decrypt a message from a given sender
unbox(byte[], Curve25519KeyPair, byte[], byte[]) - Static method in class org.magmacollective.darkcrystal.keybackup.crypto.KeyBackupCrypto
decrypt a message from a given sender, with additional contextual data

V

verifyMessage(byte[], PublicKey) - Method in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
Verify a given signed message
verifyMessageDetached(byte[], PublicKey, byte[]) - Method in class org.magmacollective.darkcrystal.keybackup.crypto.EdDSA
Verify A given message with a given signature
B C D E F G K M N O P S T U V 
All Classes All Packages