Module io.helidon.common.crypto
Package io.helidon.common.crypto
package io.helidon.common.crypto
Common cryptography implementations.
This module is used to create digest (such as hash, hmac or signature) and perform cryptographic operations to encrypt and decrypt data with usage of AES, ChaCha20 or RSA.
All of the supported algorithms by default, are available at the corresponding class as a constant. It is not required to use only algorithms available by default. All of the algorithms and their providers are configurable over the builder of each class.
Digests:
This module is used to create digest (such as hash, hmac or signature) and perform cryptographic operations to encrypt and decrypt data with usage of AES, ChaCha20 or RSA.
All of the supported algorithms by default, are available at the corresponding class as a constant. It is not required to use only algorithms available by default. All of the algorithms and their providers are configurable over the builder of each class.
Digests:
Encryption/Decryption:HashDigest
- class which creates hash digest of the messageHmacDigest
- class which creates message authentication code with addition of secret keySignature
- class which creates RSA/EC signature
SymmetricCipher
- class which encrypts and decrypts provided message by symmetric cipher (AES, ChaCha20 etc.)AsymmetricCipher
- class which encrypts and decrypts provided message by asymmetric cipher (RSA)
-
ClassDescriptionThis class provides simple and stateless way to encrypt and decrypt messages using selected asymmetric cipher.Builder of the
AsymmetricCipher
.Common cipher which helps to simplify encryption and decryption of the message.Common cryptography exception.Common digest which simplifies digest creation and its verification.The HashDigest is used for ordinary data digest creation and verification.Builder of theHashDigest
.The HmacDigest is used for simplification of the HMAC signature creation and verification.Builder of theHmacDigest
.Util class used for encryption key derivation from the password.The Signature class is used for simplification of the digital signature creation and verification.Builder of theSignature
.This class provides simple and stateless way to encrypt and decrypt messages using selected symmetric cipher.Builder of theSymmetricCipher
.