- decrypt(BytesStore, EasyBox.Nonce, EasyBox.PublicKey, EasyBox.SecretKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Decrypt a message given a nonce, sender's public key, and receiver's private key
- decrypt(BytesStore, BytesStore, EasyBox.Nonce, EasyBox.PublicKey, EasyBox.SecretKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
As above, but result BytesStore is passed in first arg
- decrypt(BytesStore, BytesStore, BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Underlying decrypt call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- decrypt(BytesStore, SealedBox.PublicKey, SealedBox.SecretKey) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
Decrypt a message given own (receiver's) public and secret keys
- decrypt(BytesStore, BytesStore, SealedBox.PublicKey, SealedBox.SecretKey) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
As above, but result BytesStore is passed in first arg
- decrypt(BytesStore, BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
Underlying decrypt call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- decryptShared(BytesStore, EasyBox.Nonce, EasyBox.SharedKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Decrypt a message given a nonce and a *shared* secret key The shared key should be precalculated using KeyPair.precalc Using a shared
key can substantially improve performance when the same sender/receiver exchange many messages
- decryptShared(BytesStore, BytesStore, EasyBox.Nonce, EasyBox.SharedKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
As above, but result BytesStore is passed in first arg
- decryptShared(BytesStore, BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Underlying decryptShared call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- deterministic(long) - Static method in class net.openhft.chronicle.salt.EasyBox.KeyPair
-
Returns a new generated deterministic public/private key pair from simple long id (which only uses 8 out of 32 seed bytes)
- deterministic(BytesStore) - Static method in class net.openhft.chronicle.salt.EasyBox.KeyPair
-
Returns a new generated deterministic public/private key pair from BytesStore accessing full 32 seed bytes
- deterministic(long) - Static method in class net.openhft.chronicle.salt.EasyBox.Nonce
-
/** Generate deterministic nonce from simple long id (which only uses 8 out of 32 seed bytes) Optionally pass in the underlying
BytesStore, else one is created
- deterministic(BytesStore, long) - Static method in class net.openhft.chronicle.salt.EasyBox.Nonce
-
- deterministic(BytesStore) - Static method in class net.openhft.chronicle.salt.EasyBox.Nonce
-
Generate deterministic nonce from BytesStore accessing full 32 seed bytes Optionally pass in the underlying BytesStore, else one
is created
- deterministic(BytesStore, BytesStore) - Static method in class net.openhft.chronicle.salt.EasyBox.Nonce
-
- deterministic(long) - Static method in class net.openhft.chronicle.salt.Signature.KeyPair
-
Generate deterministic public/private key pair from simple long id (which only uses 8 out of 32 seed bytes)
- deterministic(BytesStore) - Static method in class net.openhft.chronicle.salt.Signature.KeyPair
-
Generate deterministic public/private key pair from BytesStore accessing full 32 seed bytes
- EasyBox - Enum in net.openhft.chronicle.salt
-
- EasyBox.KeyPair - Class in net.openhft.chronicle.salt
-
Helper class to handle KeyPair creation Explicitly named static methods are provided to help avoid mistakes from calling the wrong
constructor overload Constructors in turn are made private
- EasyBox.Nonce - Class in net.openhft.chronicle.salt
-
Helper class to wrap Nonce creation and re-use A nonce should only be used for a single message exchange, then refreshed Refresh
either by calling next() or stir() depending on the use case - next increments the nonce by 1 in a deterministic fashion (eg for
ordered message exchange) - stir fully randomises the nonce again Explicitly named static methods are provided to help avoid mistakes
from calling the wrong constructor overload
- EasyBox.PublicKey - Class in net.openhft.chronicle.salt
-
Helper class to manage the public part of a KeyPair A PublicKey is created internally as part of a KeyPair, and provides a
strongly-typed wrapper over the underlying BytesStore
- EasyBox.SecretKey - Class in net.openhft.chronicle.salt
-
Helper class to manage the secret part of a KeyPair A SecretKey is created internally as part of a KeyPair, and provides a
strongly-typed wrapper over the underlying BytesStore
- EasyBox.SharedKey - Class in net.openhft.chronicle.salt
-
Helper class to handle shared key corresponding to given key pair (or parts of) A shared key can be used when multiple messages are
being exchanged between the same sender/receiver This avoids the same shared key being deduced from the sender/receiver key pair on
every message, resulting in significantly better speeds
- Ed25519 - Enum in net.openhft.chronicle.salt
-
- Ed25519.KeyPair - Class in net.openhft.chronicle.salt
-
- ED25519_PRIVATEKEY_BYTES - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- ED25519_PUBLICKEY_BYTES - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- ED25519_SECRETKEY_BYTES - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- encrypt(BytesStore, EasyBox.Nonce, EasyBox.PublicKey, EasyBox.SecretKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Encrypt a message given a nonce, receivers public key, and own private key
- encrypt(BytesStore, BytesStore, EasyBox.Nonce, EasyBox.PublicKey, EasyBox.SecretKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
As above, but result BytesStore is passed in first arg
- encrypt(BytesStore, BytesStore, BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Underlying encrypt call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- encrypt(BytesStore, SealedBox.PublicKey) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
Anonymously encrypt a message given a receivers public key
- encrypt(BytesStore, BytesStore, SealedBox.PublicKey) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
As above, but result BytesStore is passed in first arg
- encrypt(BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
Underlying encrypt call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- encryptShared(BytesStore, EasyBox.Nonce, EasyBox.SharedKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Encrypt a message given a nonce and a *shared* secret key The shared key should be precalculated using KeyPair.precalc Using a shared
key can substantially improve performance when the same sender/receiver exchange many messages
- encryptShared(BytesStore, BytesStore, EasyBox.Nonce, EasyBox.SharedKey) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
As above, but result BytesStore is passed in first arg
- encryptShared(BytesStore, BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Underlying encryptShared call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- SealedBox - Enum in net.openhft.chronicle.salt
-
- SealedBox.KeyPair - Class in net.openhft.chronicle.salt
-
Helper class to handle KeyPair creation Explicitly named static methods are provided for consistency with EasyBox where they
differentiate normal vs deterministic calls (As noted below, deterministic calls are not meaningful for sealed boxes)
- SealedBox.PublicKey - Class in net.openhft.chronicle.salt
-
Helper class to manage the public part of a KeyPair A PublicKey is created internally as part of a KeyPair, and provides a
strongly-typed wrapper over the underlying BytesStore
- SealedBox.SecretKey - Class in net.openhft.chronicle.salt
-
Helper class to manage the secret part of a KeyPair A SecretKey is created internally as part of a KeyPair, and provides a
strongly-typed wrapper over the underlying BytesStore
- SECRET_KEY_LENGTH - Static variable in enum net.openhft.chronicle.salt.Ed25519
-
- secretKey - Variable in class net.openhft.chronicle.salt.EasyBox.KeyPair
-
- secretKey - Variable in class net.openhft.chronicle.salt.Ed25519.KeyPair
-
- secretKey - Variable in class net.openhft.chronicle.salt.SealedBox.KeyPair
-
- secretKey - Variable in class net.openhft.chronicle.salt.Signature.KeyPair
-
- setSize(BytesStore, long) - Static method in enum net.openhft.chronicle.salt.Sodium.Util
-
- SGE_BYTES - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- SHA2 - Enum in net.openhft.chronicle.salt
-
- SHA2.MultiPartSHA256 - Class in net.openhft.chronicle.salt
-
Wrapper for SHA-256 signing multi-part messages composed of a sequence of arbitrarily-sized chunks
- SHA2.MultiPartSHA512 - Class in net.openhft.chronicle.salt
-
Wrapper for SHA-512 signing multi-part messages composed of a sequence of arbitrarily-sized chunks
- sha256(BytesStore) - Static method in enum net.openhft.chronicle.salt.SHA2
-
Generate sha256 hash for a given message
- sha256(BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.SHA2
-
Generate hash for a given message
- sha512(BytesStore) - Static method in enum net.openhft.chronicle.salt.SHA2
-
Generate sha512 hash for a given message
- sha512(BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.SHA2
-
Generate sha512 hash for a given message
- sign(BytesStore, BytesStore<?, ?>) - Static method in enum net.openhft.chronicle.salt.Ed25519
-
- sign(Bytes<?>, BytesStore<?, ?>, BytesStore<?, ?>) - Static method in enum net.openhft.chronicle.salt.Ed25519
-
- sign(BytesStore<?, ?>, long, long, int, BytesStore<?, ?>) - Static method in enum net.openhft.chronicle.salt.Ed25519
-
- sign(Signature.SecretKey) - Method in class net.openhft.chronicle.salt.Signature.MultiPart
-
Sign the collection of messages with a single overall signature
- sign(BytesStore) - Method in class net.openhft.chronicle.salt.Signature.MultiPart
-
Underlying sign call taking an explicit BytesStore key Where possible the strongly-typed version above should be preferred
- sign(BytesStore, Signature.SecretKey) - Static method in enum net.openhft.chronicle.salt.Signature
-
Sign a message given a secret key
- sign(BytesStore, BytesStore, Signature.SecretKey) - Static method in enum net.openhft.chronicle.salt.Signature
-
As above, but result BytesStore is passed in first arg
- sign(BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.Signature
-
Underlying sign call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred
- Signature - Enum in net.openhft.chronicle.salt
-
- Signature.KeyPair - Class in net.openhft.chronicle.salt
-
Helper class to handle KeyPair creation Explicitly named static methods are provided to help avoid mistakes from calling the wrong
constructor overload Constructors in turn are made private
- Signature.MultiPart - Class in net.openhft.chronicle.salt
-
Wrapper for signing multi-part messages composed of a sequence of arbitrarily-sized chunks
- Signature.PublicKey - Class in net.openhft.chronicle.salt
-
Helper class to manage the public part of a KeyPair A PublicKey is created internally as part of a KeyPair, and provides a
strongly-typed wrapper over the underlying BytesStore
- Signature.SecretKey - Class in net.openhft.chronicle.salt
-
Helper class to manage the secret part of a KeyPair A SecretKey is created internally as part of a KeyPair, and provides a
strongly-typed wrapper over the underlying BytesStore
- SIGNATURE_LENGTH - Static variable in enum net.openhft.chronicle.salt.Ed25519
-
- SIZEOF_CRYPTO_HASH_BLAKE2B_STATE - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- SIZEOF_CRYPTO_HASH_SHA256_STATE - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- SIZEOF_CRYPTO_HASH_SHA512_STATE - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- SIZEOF_CRYPTO_SIGN_STATE - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- Sodium - Interface in net.openhft.chronicle.salt
-
- SODIUM - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- Sodium.Init - Enum in net.openhft.chronicle.salt
-
- Sodium.Util - Enum in net.openhft.chronicle.salt
-
- sodium_increment(long, int) - Method in interface net.openhft.chronicle.salt.Sodium
-
- sodium_init() - Method in interface net.openhft.chronicle.salt.Sodium
-
- sodium_memzero(long, long) - Method in interface net.openhft.chronicle.salt.Sodium
-
- sodium_version_string() - Method in interface net.openhft.chronicle.salt.Sodium
-
- STANDARD_GROUP_ELEMENT - Static variable in interface net.openhft.chronicle.salt.Sodium
-
- state - Variable in class net.openhft.chronicle.salt.Blake2b.MultiPart256
-
- state - Variable in class net.openhft.chronicle.salt.Blake2b.MultiPart512
-
- state - Variable in class net.openhft.chronicle.salt.SHA2.MultiPartSHA256
-
- state - Variable in class net.openhft.chronicle.salt.SHA2.MultiPartSHA512
-
- state - Variable in class net.openhft.chronicle.salt.Signature.MultiPart
-
- stir() - Method in class net.openhft.chronicle.salt.EasyBox.Nonce
-
Refresh this nonce for reuse for another message with the same key pair by randomising
- store - Variable in class net.openhft.chronicle.salt.EasyBox.Nonce
-
- store - Variable in class net.openhft.chronicle.salt.EasyBox.PublicKey
-
- store - Variable in class net.openhft.chronicle.salt.EasyBox.SecretKey
-
- store - Variable in class net.openhft.chronicle.salt.EasyBox.SharedKey
-
- store - Variable in class net.openhft.chronicle.salt.SealedBox.PublicKey
-
- store - Variable in class net.openhft.chronicle.salt.SealedBox.SecretKey
-
- store - Variable in class net.openhft.chronicle.salt.Signature.PublicKey
-
- store - Variable in class net.openhft.chronicle.salt.Signature.SecretKey
-
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.Blake2b
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.Ed25519
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.SealedBox
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.SHA2
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.Signature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.Sodium.Init
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.openhft.chronicle.salt.Sodium.Util
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.openhft.chronicle.salt.Blake2b
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.EasyBox
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.Ed25519
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.SealedBox
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.SHA2
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.Signature
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.Sodium.Init
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.openhft.chronicle.salt.Sodium.Util
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(BytesStore<?, ?>, BytesStore<?, ?>) - Static method in enum net.openhft.chronicle.salt.Ed25519
-
- verify(BytesStore<?, ?>, long, long, int, BytesStore<?, ?>) - Static method in enum net.openhft.chronicle.salt.Ed25519
-
- verify(BytesStore, Signature.PublicKey) - Method in class net.openhft.chronicle.salt.Signature.MultiPart
-
Given a collection of messages, verify that the given signature matches
- verify(BytesStore, BytesStore) - Method in class net.openhft.chronicle.salt.Signature.MultiPart
-
Underlying verify call taking an explicit BytesStore key Where possible the strongly-typed version above should be preferred
- verify(BytesStore, Signature.PublicKey) - Static method in enum net.openhft.chronicle.salt.Signature
-
Verify a signed message using the signer's public key
- verify(BytesStore, BytesStore, Signature.PublicKey) - Static method in enum net.openhft.chronicle.salt.Signature
-
As above, but result BytesStore is passed in first arg
- verify(BytesStore, BytesStore, BytesStore) - Static method in enum net.openhft.chronicle.salt.Signature
-
Underlying decrypt call taking explicit BytesStores Where possible the strongly-typed versions above should be preferred