Java org.apache.shiro.crypto AesCipherService fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.crypto AesCipherService fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.crypto AesCipherService.

The text is from its open source code.

Constructor

AesCipherService()
Creates a new CipherService instance using the AES cipher algorithm with the following important cipher default attributes:
Attribute Value
#setKeySize keySize 128 bits
#setBlockSize blockSize 128 bits (required for AES
#setMode mode OperationMode#GCM GCM *
#setPaddingScheme paddingScheme PaddingScheme#PKCS5 PKCS5
#setInitializationVectorSize(int) initializationVectorSize 128 bits
#setGenerateInitializationVectors(boolean) generateInitializationVectors true **

* The OperationMode#GCM GCM operation mode is used instead of the JDK default ECB to ensure strong encryption.