Package org.springframework.security.crypto.encrypt
@NullMarked
package org.springframework.security.crypto.encrypt
Symmetric and asymmetric encryption support.
-
ClassDescriptionDeprecated.
BytesEncryptorthat uses 256-bit AES/CBC/PKCS5Padding with a random 16-byte initialization vector.A Builder forAesCbcBytesEncryptor.BytesEncryptorthat uses 256-bit AES/GCM/NoPadding with a random 16-byte initialization vector and a 128-bit authentication tag.A Builder forAesGcmBytesEncryptor.An Encryptor equivalent toAesBytesEncryptorusingAesBytesEncryptor.CipherAlgorithm.CBCthat uses Bouncy Castle instead of JCE.An Encryptor equivalent toAesBytesEncryptorusingAesBytesEncryptor.CipherAlgorithm.GCMthat uses Bouncy Castle instead of JCE.Service interface for symmetric data encryption.Factory for commonly used encryptors.A factory for reading key pairs and secret keys from a JavaKeyStore.The RSA algorithm and padding scheme to use when encrypting or decrypting.A holder for an RSA public key.An encryptor that uses RSA keys directly, without wrapping via a keystore.An encryptor that uses RSA public/private key pairs to encrypt and decrypt data.Service interface for symmetric encryption of text strings.
AesCbcBytesEncryptororAesGcmBytesEncryptorinstead.