Class CryptoUtils
java.lang.Object
pt.unl.fct.di.novasys.babel2.utils.CryptoUtils
Cryptographic utility methods used by the Babel framework for node key generation
and identity management.
By default, Babel uses Ed25519 public key cryptography for high performance and strong security guarantees across distributed nodes.
-
Field Details
-
DEFAULT_KEY_ALGORITHM
The default asymmetric digital signature algorithm ("Ed25519") used for Babel node cryptographic keys.- See Also:
-
-
Method Details
-
generateKeyPair
- Returns:
- a newly generated
KeyPaircontaining a public and private key - Throws:
IllegalArgumentException- if the underlying Java security provider does not support "Ed25519"
-