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

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

Introduction

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

The text is from its open source code.

Constructor

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

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